rm-hull / luma.lcd

Python module to drive PCD8544, HT1621, ST7735, ST7567 and UC1701X-based LCDs
https://luma-lcd.readthedocs.io
MIT License
158 stars 57 forks source link

Inverted colours on ST7735 #88

Closed rollalt closed 5 years ago

rollalt commented 5 years ago

Type of Raspberry Pi

Raspberry pi 2B

Linux Kernel version

Linux raspberrypi 4.19.42-v7+ #1219 SMP

Expected behaviour

To display example perfloop.py.

Actual behaviour

ST7735 screen display example perfloop.py in inverted colours Background is white. Red is Yellow Green is Purple Blue is Green

rollalt commented 5 years ago

I've managed to resolve the issue by changing const(0x21) on display inversion

thijstriemstra commented 5 years ago

@rm-hull any idea why this had to be changed?