File tree Expand file tree Collapse file tree
variants/esp32_s3_crowpanel_2_1 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,11 +24,11 @@ static const gpio_num_t TX = GPIO_NUM_43;
2424static const uint8_t I2C_IO_EXPANDER_ADDRESS = 0x21 ; // pcf8574
2525static const uint8_t I2C_TOUCH_ADDRESS = 0x15 ; // often but not always 0x15!
2626static const uint8_t I2C_SCREEN_ADDRESS = 0x3C ;
27- static const gpio_num_t TOUCHSCREEN_RESET_PIN = GPIO_NUM_0 ;
28- static const gpio_num_t TOUCHSCREEN_INTERRUPT_PIN = GPIO_NUM_2 ;
29- static const gpio_num_t LCD_POWER_PIN = GPIO_NUM_3 ;
30- static const gpio_num_t LCD_RESET_PIN = GPIO_NUM_4 ;
31- static const gpio_num_t ENCODER_BUTTON_PIN = GPIO_NUM_5 ;
27+ static const uint8_t TOUCHSCREEN_RESET_PIN = 0 ;
28+ static const uint8_t TOUCHSCREEN_INTERRUPT_PIN = 2 ;
29+ static const uint8_t LCD_POWER_PIN = 3 ;
30+ static const uint8_t LCD_RESET_PIN = 4 ;
31+ static const uint8_t ENCODER_BUTTON_PIN = 5 ; // (INPUT_PULLUP)
3232
3333// Screen
3434static const uint16_t SCREEN_HEIGHT = 480 ;
You can’t perform that action at this time.
0 commit comments