Do ILI Chip Displays Allow You To Change Bits Per Pixel?

Discuss development of drivers for external hardware and components, such as LCD screens, sensors, motor drivers, etc.
Target audience: Users and developers of drivers.
Post Reply
PsuFan
Posts: 19
Joined: Mon Sep 30, 2019 7:35 pm

Do ILI Chip Displays Allow You To Change Bits Per Pixel?

Post by PsuFan » Sat May 02, 2020 6:41 pm

I am working on a little weather station with an ESP8266. I populating the screen with sometimes only 2, 3, 4 colors requiring 2 bits per pixel. Why am I forced to send 16 bits per pixel? Do any chips like the ILI9341 I am using or others support defining pallet colors and just sending bits that represents the pallet color?

User avatar
mcauser
Posts: 453
Joined: Mon Jun 15, 2015 8:03 am

Re: Do ILI Chip Displays Allow You To Change Bits Per Pixel?

Post by mcauser » Sun May 03, 2020 10:18 pm

Normally they support writing RGB666, RGB565 or RGB444 after a few init commands.
I usually use RGB565 as it fits 1 pixel in 2 bytes, making writes faster and I often don’t need the extra colour precision of RGB666.

Post Reply