initial commit
This commit is contained in:
20
main/user_config.h
Normal file
20
main/user_config.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#ifndef USER_CONFIG_H
|
||||
#define USER_CONFIG_H
|
||||
|
||||
|
||||
/*lcd init*/
|
||||
#define LCD_WIDTH 300 //需要注意的是,竖屏和横屏显示的时候,分辨率不一样的
|
||||
#define LCD_HEIGHT 400 //需要注意的是,竖屏和横屏显示的时候,分辨率不一样的
|
||||
|
||||
#define RLCD_DC_PIN GPIO_NUM_5
|
||||
#define RLCD_CS_PIN GPIO_NUM_40
|
||||
#define RLCD_SCK_PIN GPIO_NUM_11
|
||||
#define RLCD_MOSI_PIN GPIO_NUM_12
|
||||
#define RLCD_RST_PIN GPIO_NUM_41
|
||||
#define RLCD_TE_PIN GPIO_NUM_6
|
||||
|
||||
/*i2c*/
|
||||
#define ESP32_I2C_SDA_PIN GPIO_NUM_13
|
||||
#define ESP32_I2C_SCL_PIN GPIO_NUM_14
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user