Fix: Newer MHS35 gpio screens displaying nothing (white)

26 views
Skip to first unread message

Craig

unread,
Jul 4, 2026, 4:41:49 PMJul 4
to DigiPi
Hi MHS35 GPIO Display Owners (and only MHS35 display owners),

Thanks to Smolz and a several testers, it looks like the newer MHS35
displays changed their serial protocol, so we need to make a quick
tweak to direwatch.py and digibanner.py to cover all the MHS35 displays.

Click Shell  (password = raspberry)

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


On about line 150, change "spi.mode = 0b10" to "spi.mode = 0b00"

elif displaytype == 'mhs35':
   ## Large mhs35 display, no buttons, (320x480)
   from spidev import SpiDev
   from MHS35 import ILI9486
   spi = SpiDev(0,0)
   spi.mode = 0b00 
   spi.max_speed_hz = 48000000
#   spi.max_speed_hz = 32000000
   disp = ILI9486(spi, dc=24, rst=25, gpio_chip=0 )
   disp.begin()
#   disp.invert()


 
Thank you for your continued support,
-craig
KM6LYW
Reply all
Reply to author
Forward
0 new messages