Hi,

I have 18Bit (6:6:6) color TFT,but i want to use it as 16 bit (5:6:5) color
mode.
for RED and Blue components which bit should i skip MSB or LSB.
--
Software Developer
Johari Digital Healthcare LTD.
INDIA

Re: TFT LCD color bits by Rik

Rik
Thu Aug 21 00:57:27 PDT 2008

Hi Dipendra,

If your LCD is expecting 18 bits, and you only want to feed it 16
bits, then leave out the least significant bits (these will naturally
make the least difference to the colour).

If you are asking this because the display driver doesn't support 18
bits, consider using 32 bits instead, and masking off the bits you
need when it comes to driving the LCD. At least this way you will get
the full (and correct) range of colours the LCD supports.

regards,
Rik Attrill