Endians issues with slint / mipidsi / ST7789 / esp32 rust no idf #7459
-
Hello, Thanks for this project.
Using embedded-graphics works like a charm, but with slint, green pixels should be blue, and blue should be green.
I have tried to swap ColorOrder to Gbr, but i have a similar issue. I guess that i need to use a similar trick of SlintPlatformConfiguration::color_swap_16 but I can't find how to do this with rust api. Could you help me ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You may need to do a manual pass to change the byte order. |
Beta Was this translation helpful? Give feedback.
You may need to do a manual pass to change the byte order.
Just loop over the buffer before sending it to the screen to swap bytes