-
Notifications
You must be signed in to change notification settings - Fork 29
Description
Sometimes the display does not initialize properly, it will only show some thin lines or a light grey background and it can't be written to by the program (apart from the display not showing anything the program works fine). Reseting the device by on/off or the reset button helps sometimes after a few tries, sometimes it seems to need "off-time", but I could not really figure out when it does not work and what gets it back on track. It is really unreliable like this. This happens on both of my T-keyboards.
What might cause this weirdness?
I found that when I enabled core debug level, at TFT_099.begin(); I get this log:
12:51:23.065 -> [ 174][E][esp32-hal-gpio.c:102] __pinMode(): Invalid pin selected
12:51:23.097 -> [ 174][E][esp32-hal-gpio.c:102] __pinMode(): Invalid pin selected
12:51:23.097 -> [ 177][E][esp32-hal-gpio.c:102] __pinMode(): Invalid pin selected
12:51:23.195 -> [ 283][E][esp32-hal-spi.c:227] spiAttachMISO(): SPI Does not have default pins on ESP32C3!
Could this be the cause of it? But those error messages will also be in the logs when it works. No idea how to debug this any further... :(
Any help appreciated, thanks and cheers!