megasquirt-dash-display
megasquirt-dash-display copied to clipboard
Not Displaying Any Graphics/Text
Using PlatformIO to compile/load the code I only get a grey screen. I am using the newer E1 LCD with the breakout board. The Seed demo arduino runs the demo and displays correctly.
I've put a scope on the pins and they are doing as expected. I am not using the LED bar so that i2c code is commented out. I added a "DPRINT(screen_num);" statement to "void core()" and it correctly increments when I touch the screen. This indicates that SPI between the ESP32 and the LCD is working. I also dropped the SPI speed down to 5MHz, but still no luck.
Please help.
Did you work out the problem? I replied to your CF support ticket.
The issue was the pixel clock. It was hardcoded for 12MHz. My display needs 30MHz. You have it hard coded even though there is a define in 'project.h'. FYI there are also #ifdefined that should be #if in your 'endiness' functions.
I'm wondering if there would be any value in simply updating the needle and digital values instead of rewriting the entire gauge.
Thanks for following up.