esp idf好难用。。

This commit is contained in:
2026-02-18 03:23:36 +08:00
parent fb653cb545
commit ce0b15e2fa
29 changed files with 895 additions and 220 deletions
+6 -8
View File
@@ -9,16 +9,11 @@
#define LCD_SCL 2
#define LCD_CS 7
#define LCD_DS 6
#define LCD_LED 10
#define VSPI_MISO 10
#define VSPI_MOSI 3
#define VSPI_SCLK 2
#define VSPI_SS 7
#define USE_HORIZONTAL 0 //设置横屏或者竖屏显示 0或1为竖屏 2或3为横屏
#define LCD_W 240
#define LCD_H 320
#define USE_HORIZONTAL 2 //设置横屏或者竖屏显示 0或1为竖屏 2或3为横屏
#define LCD_W 320
#define LCD_H 240
#define OLED_CMD 0 //写命令
#define OLED_DATA 1 //写数据
@@ -32,4 +27,7 @@ void lcd_init();
void LCD_Clear(uint16_t Color);
void LCD_fillRect(uint16_t x, uint16_t y, uint16_t width, uint16_t height, uint16_t color);
#endif