-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
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
tft: restore ILI9341 colors and reversed logic #19010
Conversation
Maybe two similar displays need different settings? #18877 Also, @rhapsodyv has been doing a lot of work for the MKS Robin Nano + tethered TFTs. |
was changed by #18901 for the colors issue (black is white now) 9341 is a 320x240, 9488 a 480x320 |
This may need some adjustment/ways to change colors for other TFTs since the colors are correct on MKS Robin Nano boards with their tethered TFTs using the previous code (#18901 (comment)). |
yes, but MKS Robin nano is not using an ILI9341 |
The code is different, but they were in the same switch case. |
Funny, because when first submitted, I was going to fill in all those device init cases with what we've ended up with, but I didn't want to presume…. |
It's another think that is repeated. |
I figured there would be some redundancy with TFT code arriving from so many quarters at the same time, but that's how we roll. Elaboration and piling up code while developing and testing, then revision and optimization once it works reliably — and once we have a reasonable understanding of how it all works. |
Sure. I began the tft io refactoring after fixing the fsmc psram bug in 3 different places with the same code heheh. |
ILI9341 init code was recently changed to 9488 init (last 10 days)
This restore the right colors and the reversed display, like it was originally.
also, the X & Y offsets of the dogm UI are no more centered on 320x240 displays.... the dogm ui is touching the right border...