Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not Displaying Any Graphics/Text #1

Open
exothink opened this issue Nov 18, 2020 · 2 comments
Open

Not Displaying Any Graphics/Text #1

exothink opened this issue Nov 18, 2020 · 2 comments

Comments

@exothink
Copy link

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.

@MWP
Copy link
Owner

MWP commented Dec 7, 2020

Did you work out the problem?
I replied to your CF support ticket.

@exothink
Copy link
Author

exothink commented Dec 7, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants