DigiPi ILI9486 Display - too bright/washed out white bkgd

13 views
Skip to first unread message

Frank Cupp

unread,
Dec 3, 2025, 10:14:06 AM (13 days ago) Dec 3
to DigiPi
The menu item screen shows proper however the physical  ILI9486 display 
appears to use very light colors.  Is there a way to make it 'dark' mode or at least look like the menu screen option?

Frank
KE4PIC

Frank Cupp

unread,
Dec 3, 2025, 10:24:58 AM (13 days ago) Dec 3
to DigiPi
digipi_start.jpgdigi_mode.jpg

Craig

unread,
Dec 3, 2025, 2:39:05 PM (13 days ago) Dec 3
to Frank Cupp, DigiPi
Hi Frank, some of the ili9486 displays have inverted colors, but fear not, there's a
tweak you can make to DigiPi to get the black background,


Click Shell
Password:  raspberry

sudo remount
sudo nano direwatch.py
sudo nano digibanner.py



and put a pound/hash (#) sign in front of the "disp.invert()" like below,


elif displaytype == 'ili9486':
   ## Largest ili9486 display, no buttons
   from spidev import SpiDev
   spi = SpiDev(0,0)
   spi.mode = 0b10  
   spi.max_speed_hz = 48000000
   disp = ili9486.ILI9486(
       spi=spi,
       rst=25,
       dc=24,
       origin=ili9486.Origin.LOWER_RIGHT
   ).begin()
#   disp.invert()



best,
-craig
KM6LYW

Frank Cupp

unread,
Dec 3, 2025, 7:47:16 PM (13 days ago) Dec 3
to Craig, DigiPi
That works.

Thanks,

Frank
KE4PIC

Sent from Gmail Mobile
Reply all
Reply to author
Forward
0 new messages