Code Monkey home page Code Monkey logo

Comments (3)

track-tech avatar track-tech commented on August 21, 2024

我使用的是Arduino+VScode开发的,platformio下的环境配置不太熟悉,抱歉没能帮到你

from -esp32c3_lcd_screen_button_demo.

adsian avatar adsian commented on August 21, 2024

我是根据这篇文章配置的 https://blog.51cto.com/u_15259603/2878904 , clion 也支持platformio了,比vscode体验更好一些

在platform.ini中加入库依赖配置

lib_deps =
Arduino Library
Adafruit ST7735 and ST7789 Library
Adafruit GFX Library

pio run 会把这些毛添加到lib里

如果出现头文件#inculde <xxxx.h>无法连接的的情况

在CMakeLists.txt中添加library

include_directories("./.pio/libdeps/esp32-c3-devkitm-1/Adafruit BusIO")
include_directories("./.pio/libdeps/esp32-c3-devkitm-1/Adafruit GFX Library")
include_directories("./.pio/libdeps/esp32-c3-devkitm-1/Adafruit seesaw Library")
include_directories("./.pio/libdeps/esp32-c3-devkitm-1/Adafruit ST7735 and ST7789 Library")

然后右键reload就可以

from -esp32c3_lcd_screen_button_demo.

track-tech avatar track-tech commented on August 21, 2024

学到了,感谢 :P

from -esp32c3_lcd_screen_button_demo.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.