I purchased a https://www.adafruit.com/product/4311 .
I have it wired up to an Arduino Uno, and I am able to run the pictureEmbed example from the ILI9341 library, but the colors are wrong.
After much experimentation, my theory is that the device is interpreting the u16 pixels not as r5g6b5, but as b3r2g3. If I adjust the pixels, I can get a properly colored flag of Cymru (I use that name because its english name is banned) .
I have opened an issue at https://github.com/adafruit/Adafruit_ILI9341/issues/80 .
I can not figure out how to switch from 8-bit color to 16-bit or 18-bit color.
The ST7789 display does not seem to support 16-bit color
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- mutantbob
- Posts: 6
- Joined: Tue Jun 14, 2022 2:12 pm
- neradoc
- Posts: 542
- Joined: Wed Apr 27, 2016 2:38 pm
Re: The ST7789 display does not seem to support 16-bit color
Did you follow the guide for the display ? It's this one, right ? "4311"
https://learn.adafruit.com/2-0-inch-320 ... iring-test
I doesn't look like it uses the ILI9341 library, but the ST7789. Did you adapt the example ?
https://learn.adafruit.com/2-0-inch-320 ... iring-test
I doesn't look like it uses the ILI9341 library, but the ST7789. Did you adapt the example ?
- mutantbob
- Posts: 6
- Joined: Tue Jun 14, 2022 2:12 pm
Re: The ST7789 display does not seem to support 16-bit color
OK, that explains a lot. I must have followed a link from a different product that uses the ili9341 interface.
Please be positive and constructive with your questions and comments.