Driver for ST7735 (blue tab)

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
fdufnews
Posts: 60
Joined: Mon Jul 25, 2016 11:31 am

Driver for ST7735 (blue tab)

Post by fdufnews » Tue Jun 01, 2021 6:47 am

Just made some modification on a driver from @pythoncoder to use the blue tab variation of a 80 x 160 display using ST7735 driver chip. The driver is here in the drivers directory.
The differences with the original driver are :
  • an offset on one axis
  • inverted colors
I have added parameters in the constructor in order to manage more than one display, examples are here.
One of the example is a faux nixie clock on which the numbers shape can be changed with a rotary encoder.
clockfaces2.jpg
clockfaces2.jpg (192.1 KiB) Viewed 338 times

User avatar
pythoncoder
Posts: 5272
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: Driver for ST7735 (blue tab)

Post by pythoncoder » Tue Jun 01, 2021 8:48 am

Good work. The multiple variants of the ST7735 are confusing. I chose to support Adafruit displays because I trust them not to suddenly change to a different variant...

Your driver should work with nano-gui should you feel inclined to try it.

I love your simulated Nixie tube font!
Peter Hinch

fdufnews
Posts: 60
Joined: Mon Jul 25, 2016 11:31 am

Re: Driver for ST7735 (blue tab)

Post by fdufnews » Tue Jun 01, 2021 1:01 pm

Thank you.

When I adapt a driver, I try to keep the interface as much as possible to assure compatibility with the original one.

Post Reply