Hello all,
as my first project i want to be able to draw something using a st7735 tft 1.8" lcd display with an esp8266 running upython 1.9.3.
with some research i found this repository https://github.com/adafruit/micropython ... gb-display
from witch i uploaded the st7735.py and rgb.py files to my esp8266 and tried to make them work with:
from machine import Pin, SPI
import st7735
spi = SPI(1, baudrate=32000000)
display = st7735.ST7735R(spi, dc=Pin(15), cs=Pin(0),width=160,height=128)
display.fill(0)
but nothing happens
the mosi pin is connected to gpio13(sd1) of my board.
can you see what am i failing at?
is it even posible?
thanks in advance
noobie, failing to make a st7735 to work
Re: noobie, failing to make a st7735 to work
I'm using those displays a lot, and they work very well.
Can you tell us how you connected the display module exactly?
Also, did you connect the backlight to power? This display won't show anything without a backlight.
Can you tell us how you connected the display module exactly?
Also, did you connect the backlight to power? This display won't show anything without a backlight.
-
- Posts: 847
- Joined: Mon Nov 20, 2017 10:18 am
Re: noobie, failing to make a st7735 to work
You also have to connect the rest pin to 3.3v as well