ST7789 display Pi Pico | Python tutorial | SPI ... - Techatronic
techatronic.com › st7789-display-pi-picoJun 11, 2021 · spi=SPI (0,62500000,sck=Pin (18),mosi=Pin (19),polarity=1,phase=0) display=st7789.ST7789 (spi,240,240,reset=Pin (20),dc=Pin (17),xstart=0,ystart=0,rotation=0) Then we clear the display by settying all pixels to 0 (zero) or black. We also import fonts which we have used in this code. W also import time for delay functions.