Skip to content

Commit

Permalink
And ESP32_8048S050R
Browse files Browse the repository at this point in the history
  • Loading branch information
rzeldent committed Dec 10, 2023
1 parent ac8a4e6 commit 0585195
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/esp32_smartdisplay.h
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,8 @@
#define XPT2046_SPI_BUS_CONFIG {.mosi_io_num=11,.miso_io_num=13,.sclk_io_num=12,.quadwp_io_num=-1,.quadhd_io_num=-1}
#define XPT2046_IO_SPI_CONFIG {.cs_gpio_num=38,.dc_gpio_num=-1,.spi_mode=SPI_MODE0,.pclk_hz=2000000,.trans_queue_depth=3,.lcd_cmd_bits=8,.lcd_param_bits=8}
#define XPT2046_TOUCH_CONFIG {.x_max=TFT_WIDTH,.y_max=TFT_HEIGHT,.rst_gpio_num=GPIO_NUM_NC,.int_gpio_num=GPIO_NUM_18}
#define TOUCH_ROT_SWAP_X false
#define TOUCH_ROT_SWAP_Y false
#else
#ifdef ESP32_8048S050C
#define USES_GT911
Expand Down

0 comments on commit 0585195

Please sign in to comment.