Bodmer / TFT_eSPI

Arduino and PlatformIO IDE compatible TFT library optimised for the Raspberry Pi Pico (RP2040), STM32, ESP8266 and ESP32 that supports different driver chips
Other
3.74k stars 1.07k forks source link

TFT_eSPI with WT32-SC01 #2467

Closed leofouhy closed 1 year ago

leofouhy commented 1 year ago

I'm working with the WT32-SC01 board that uses the ST7796 display driver. I have made what I believe are the correct changes to the eSPI files to get it to use Setup201_WR32_SC01.h When I run your "Read_User_Setup.ino" program, it shows the 9341 display driver is being used. See attached file: eSPI Can you explain what files I need to edit to make this work?

Thanks for your help.

Bodmer commented 1 year ago

Comment out or delete this line: https://github.com/Bodmer/TFT_eSPI/blob/master/User_Setup_Select.h#L30

Remove // at start of this line: https://github.com/Bodmer/TFT_eSPI/blob/master/User_Setup_Select.h#L123

leofouhy commented 1 year ago

Fantastic. That worked. All because I hadn't commented out the line: https://github.com/Bodmer/TFT_eSPI/blob/master/User_Setup_Select.h#L30

Thanks for your help.