Scramble Display on TightVNC
Closed this issue · 3 comments
mltongca commented
The display is sort of working with a bit scramble when TightVNC server is connected.
Links2004 commented
most likely a HW problem at 80Mhz the connections an cables starts to matter.
you can try to change it to 40Mhz and see how it goes, if its fine then, you need to improve you wirering or you display can not handle 80Mhz well.
https://github.com/Links2004/Adafruit_ILI9341/blob/master/Adafruit_ILI9341.cpp#L267
mltongca commented
SPI.setFrequency(60000000) function is used to change the SPI clock to 60Mhz and it is working fine now. Thank you.
Links2004 commented
Note:
the ESP can not run the SPI at 60Mhz it will run at 40Mhz when you call the setFrequency with 60Mhz.
this is a Hardware limitation, based on how the frequency divider works internally.