LCD st7920 on esp8266 ModeMcu v3 Lolin
Posted: Mon Apr 06, 2020 12:02 pm
helow
I'm trying to run st7920 on NodeMcu v3 Lolin. I chose it because it has 5V
most likely the system has SPI("GPIO_8 MOSI" ," GPIO_6 CLK") and HSPI("GPIO_13 MOSI" GPIO_14 CLK")
I try like mcauser
screen.plot(5, 5) evokes error
Where should I start ?
I'm trying to run st7920 on NodeMcu v3 Lolin. I chose it because it has 5V
most likely the system has SPI("GPIO_8 MOSI" ," GPIO_6 CLK") and HSPI("GPIO_13 MOSI" GPIO_14 CLK")
I try like mcauser
Code: Select all
from machine import Pin, SPI
import st7920
spi = SPI(1)
screen = st7920.Screen(slaveSelectPin=Pin(4), resetDisplayPin=Pin(5))
screen.plot(5, 5)
Code: Select all
Traceback (most recent call last):
File "<stdin>", line 1 in <module>
File "canvas.py", line 2 in raiseError
NotImplemementedError: