My user_setup_select.h and user_setup.h seem to have no effect #2521
-
Hi, I'm 90% sure I'm missing something small (and probably obvious) here, but have been trying to get this to work for a couple of days and can't get anything except a blank white or black screen. My hardware setup is an ESP32 dev board with a ILI9488 display bought from ebay. My user_setup_select.h file has the root user_setup.h enabled. I've also tried enabling setup 21 (ESP32 + ILI9488) but that didn't make any difference. Then in user_setup.h I have the ILI9488 driver enabled and the backlight configured to pin 27 And the SPI pins enabled for VSPI. I've checked all the hardware connections many times and its correct. I can enable pin 27 for the backlight in one of the example scripts to set it to high there, and the screen turns white instead of black - so I know the main script is getting to the ESP32. However, when I run the read_user_setup example, I get this output Display driver, display height, display width and TFT_DC are all wrong, so the settings I'm trying to apply aren't getting to the ESP32. I found a few similar looking discussions, but everyone I saw had the correct output from read_user_setup, so I'm sure thats my first problem to sort out at least. Any help would be much appreciated. Thanks, Pete |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
I am guessing you have not commented out this line: And have not commented out the lines here: |
Beta Was this translation helpful? Give feedback.
I am guessing you have not commented out this line:
https://github.com/Bodmer/TFT_eSPI/blob/master/User_Setup.h#L45
And have not commented out the lines here:
https://github.com/Bodmer/TFT_eSPI/blob/master/User_Setup.h#L169