All colors on new board are inverted. #191
Replies: 4 comments 3 replies
-
Yes, color inversion is normally caused by IPSdisplays. Try adding the setting
If you have a new (working) definition I can add it to the boards! |
Beta Was this translation helpful? Give feedback.
-
@rzeldent Now I have working definitions of two new boards, along with pictures of them. How would you like to get them? |
Beta Was this translation helpful? Give feedback.
-
Apparently this was not an IPS board but was defined, so indeed, undefining solved this! Are you able to make a branch and a pull request? Then I can merge it.... That would be the easiest solution for me... |
Beta Was this translation helpful? Give feedback.
-
Sorry, but I am very new to GitHub. It would take me days to figure out how to do that. Would a zip file on Dropbox work for you? There is no security issue and I can delete the file and the link once you got it. Are you aware of the fact, that these are Guition boards, and not Sunton?
Well, thank you very much for the great work you have done! I really like your approach, it is very convenient for the user. |
Beta Was this translation helpful? Give feedback.
-
I am very happy to work with esp32-smartdisplay. I had great results with the ESP32-JC8048W550C board from Guition (using esp32-8048S050C.json from your site platformio-espressif32-sunton). I used to use TFT_eSPI, but since this is not supported by EEZ Studio, I switched to esp32-smartdisplay. I also like to have one platform for all my boards.
Now I bought a smaller board that is not yet in this database: ESP32-JC2432W328C, also made by Guition, see AliExpress. It works with ST7789 for TFT and CST816S for touch. Adapting an existing platform file from your database was quite easy, once the pins were known from the Chinese documentation, as usual. Now, it works, well, almost. Only the colors are all inverted!
There are not many color-related definitions in the configuration. I played with the known attributes, like COLOR_SPACE_RGB <-> COLOR_SPACE_BGR and LV_COLOR_16_SWAP. But nothing helped. Unfortunately, my knowledge of the hardware of these devices is very limited.
In TFT_eSPI, the solution was simple. You either had to
#define TFT_INVERSION_ON
in the "User_Setup.h" file, or to calltft.invertDisplay(true);
in the setup() section of the sketch.My question is now: Does esp32-smartdisplay also provide such a statement? Or does anyone have an idea where the colors could be inverted? I am grateful for any help. It would be very inconvenient to invert all colors in EEZ Studio.
Beta Was this translation helpful? Give feedback.
All reactions