russhughes/st7789_mpy

No output on RP2W

Opened this issue · 0 comments

I have the exact display pictured in the readme with no cs pin. I'm trying to make this display work on the raspi pico w.

I have installed the RP2W firmware,

Wiring
Display - Pico
GND - GND
VCC - 3v3out
SCL - GP10
SDA - GP11
RES - GP14
DC - GP15
BLK - GP12

I downloaded and installed hello.py and png.py and set my config file as

import st7789

TFA = 0	    # top free area when scrolling
BFA = 80	# bottom free area when scrolling

def config(rotation=1, buffer_size=0, options=0):
    return st7789.ST7789(
       SPI(1, baudrate=62500000, sck=Pin(10), mosi=Pin(11)),
        240,
        240,
        reset=Pin(14, Pin.OUT),
        dc=Pin(12, Pin.OUT),
        backlight=Pin(15, Pin.OUT),rotation=2)

Running these files shows nothing. They work fine with my waveshare1.3 inch display and the accompanied tft_config.py