Skip to content

Commit eee63cd

Browse files
committed
fix: pins for crowpanel 2.1
1 parent a297900 commit eee63cd

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

variants/esp32_s3_crowpanel_2_1/pins_arduino.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ static const gpio_num_t TX = GPIO_NUM_43;
2424
static const uint8_t I2C_IO_EXPANDER_ADDRESS = 0x21; // pcf8574
2525
static const uint8_t I2C_TOUCH_ADDRESS = 0x15; // often but not always 0x15!
2626
static 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
3434
static const uint16_t SCREEN_HEIGHT = 480;

0 commit comments

Comments
 (0)