Inverted Display #45
Replies: 1 comment
-
I had a similar problem with my screen - the colours look like they're all inverted. |
Beta Was this translation helpful? Give feedback.
-
I had a similar problem with my screen - the colours look like they're all inverted. |
Beta Was this translation helpful? Give feedback.
-
For some reason, my display had all the colors inverted and I couldn't figure out how to fix it within the software as written. I'm not very familiar with how GitHub works to suggest code changes but I was able to work a fix by adding the following lines:
Config.h:
43 #define TFT_INVERT //uncomment to invert display
video.cpp:
88 #ifdef TFT_INVERT
89 0x21, //invert display
90 #endif
in case any of the readers of this post can't find where to put it because the line numbers are off, these are added right before the line that says:
0x00 // End of list
in the file video.cpp. In config.h the line can go anywhere.
Hopefully this helps someone!
Beta Was this translation helpful? Give feedback.
All reactions