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

Inverted Colours Help #276

Open
jacklythgoee opened this issue Dec 6, 2024 · 0 comments
Open

Inverted Colours Help #276

jacklythgoee opened this issue Dec 6, 2024 · 0 comments

Comments

@jacklythgoee
Copy link

Hi,

I have just managed to flash my CYD with the LVGL9 example. I am unsure if the GUI was intented in this way, However the background is black, all colours seem to be correct.

I then changed the .colour space to RGB
.color_space = ESP_LCD_COLOR_SPACE_RGB
in LCD.h and the colours inverted, red was blue etc.
So i reverted back

I then added

esp_lcd_panel_reset(*lcd_panel); esp_lcd_panel_init(*lcd_panel); esp_lcd_panel_invert_color(*lcd_panel, true); // Add this line

The background was white, but now the colours are inverted, Red is cyan, Green is purple. Blue is Yellow.

Decided to then mix the pair RGB,

esp_lcd_panel_invert_color(*lcd_panel, true); // Add this line
.color_space = ESP_LCD_COLOR_SPACE_RGB

Background white, Red is yellow, green is purple, blue is cyan.

Do you have any ideas on what i can do? or what should i expect anyway, is the first thing correct?

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

1 participant