Raspberry Pi Pico 2/CircuitPython 9 display on 1.54" 240x240 ST7789 SPI IPS
CircuitPython 9.2.0 run on Raspberry Pi Pico 2 to display on 1.54" 240x240 ST7789 SPI IPS . Connection: Code: cpy_pico2_st7789.py , with color test and scrolling text. """ Raspberry Pi Pico 2/CircuitPython 9 to display on 1.54" 240x240 ST7789 SPI IPS Connection: ----------- GND GND VCC 3V3 SCL GP18 SDA GP19 RES GP20 DC GP21 CS GP17 BLK GP22 CircuitPython Libraries Bundle for Version 9.x needed: (https://circuitpython.org/libraries) - adafruit_st7789.mpy - adafruit_display_text folder """ import os, sys import microcontroller import board import busio import displayio import terminalio import adafruit_st7789 from adafruit_display_text import label import time disp_sck = board.GP18 disp_mosi = board.GP19 disp_res = board.GP20 disp_dc = board.GP21 disp_cs = board.GP17 disp_blk = board.GP22 # Release any resources currently in use for the displays displayio.release_displays() disp_spi = busio