If you are having any issues, this is the first thing I would check!
The examples and information contained on this repo are for the ESP32-2432S028 display only. The model number is written on the back of the display in gold writting, beside the speaker connector.
If you are having issues getting the display working, the first thing I would try is webflashing an existing project. These will be known working code, and if it works correctly, it points to a software issue, not a hardware one.
- Make sure you have put the User_Setup.h file in the correct location as described here
- Pin 21 is the backlight pin, make sure you are not using it for something else in your sketch.
- Make sure you are not connecting Pin 21 to anything. It is broken out on the connector labeled
P3
- Try a different USB supply and or cable
- If nothing else worked, your CYD could be faulty. Contact the seller.
The ESP32 offers two usable hardware SPI buses, but on the CYD each of display, touch and SD card use a different bus. To use all three devices at the same time, for one of them the SPI has to be "simulated" in software. Usually this is done for the touch device, since it doesn't require a high bandwidth. Therefor use a software SPI implementation like XPT2046_Bitbang_Slim and follow the button example
- Try a different USB supply and or cable
- Go through the Display is not turning on steps
- If nothing else worked, your CYD could be faulty. Contact the seller.
- On Ubuntu and flavors disable or uninstall service
brltty
and make sure user is in groupdialout