2. 添加驱动库 推荐使用st7735组件: # 通过组件管理器添加(或手动下载到 components 目录) git clone https://github.com/nopnop/st7735-esp-idf components/st7735 3. 代码示例 (main.c) #include "driver/spi_master.h" #include "st7735.h" #define TFT_CS 5 #define TFT_DC 2 #define TFT_RST ...