Closed dima72 closed 3 years ago
Thank you Nelson,
can you suggest if I'm missing something else, looking at the picture
thanks in advance,
Looks like it's working in terms of hardware. Is your concern now the glitchy background?
Looks like you're running a 240x135 demo on a 240x240 display.
The problem is, even if I send 240x240 into constructor, the image comes as 240x135. Do I use right st7789.ST7789 constructor?
# Create the ST7789 display:
disp = st7789.ST7789(
spi,
cs=cs_pin,
dc=dc_pin,
rst=reset_pin,
baudrate=BAUDRATE,
width=240,
height=240,
x_offset=0, #53
y_offset=10, #40
)
try tweaking the y offset!
cool. y_offset=80
works fine.
thanks for your support!
running rgb_display_minipitfttest.py after installing adafruit-circuitpython-rgb-display, spidev, ttf-dejavu, python3-numpy
please help