修改了引脚号

This commit is contained in:
jarvis 2025-03-06 23:23:19 +08:00
parent f2978643ef
commit 8695102526

View File

@ -49,10 +49,18 @@ static const char *TAG = "example";
/*定义屏幕显示其他接口*/
#define EXAMPLE_PIN_NUM_PCLK 19
#if 0
#define EXAMPLE_PIN_NUM_CS 45
#define EXAMPLE_PIN_NUM_DC 20
#define EXAMPLE_PIN_NUM_RST 8
#define EXAMPLE_PIN_NUM_BK_LIGHT 10
#elif
#define EXAMPLE_PIN_NUM_CS 0
#define EXAMPLE_PIN_NUM_DC 20
#define EXAMPLE_PIN_NUM_RST 8
#define EXAMPLE_PIN_NUM_BK_LIGHT 3
#endif
// The pixel number in horizontal and vertical
#define EXAMPLE_LCD_H_RES 320
@ -63,8 +71,8 @@ static const char *TAG = "example";
//定义所使用触摸屏驱动接口
#define EXAMPLE_I2C_NUM 0 // I2C number
#define EXAMPLE_I2C_SCL 21
#define EXAMPLE_I2C_SDA 47
#define EXAMPLE_I2C_SCL 39
#define EXAMPLE_I2C_SDA 38
#define EXAMPLE_LVGL_TICK_PERIOD_MS 2
#define EXAMPLE_LVGL_TASK_MAX_DELAY_MS 500