Posts

Showing posts from January, 2023

Raspberry Pi Pico W/MicroPython x 0.96" 80x160 ST7735 SPI IPS

Image
This post show how to display on  0.96" 80x160 ST7735 SPI IPS , with  Raspberry Pi Pico W /MicroPython, using  boochow/MicroPython-ST7735 library . The original boochow/MicroPython-ST7735 target 128x160 ST7735 TFT LCD driver for MicroPython. This post show steps to install the library, and modify it to fix screen size, offset and color. Please note that the modification base on my own guessing and trying, not any official suggested approach. Connection: ST7735 Raspberry Pi Pico W --------------------------- BLK 3V3 CS GP15 DC GP14 RES GP13 SDA GP11 SCL GP10 VCC 3V3 GND GND Prepare library: Visit: https://github.com/boochow/MicroPython-ST7735 Copy and edit ST7735.py, save to to MicroPython device, name it myST7735.py. ... ScreenSize = ( 80, 160 ) ... def setStart(self, colstart, rowstart): self._offset[0] = colstart self._offset[1] = rowstart def initr( self ) : '''Initialize a red t...