Hi dhylands, i am trying below code to display text with GpioLcd. but text was not displaying on lcd screen so i stopped going further. do i need to change the pins in below code or do i need to change slc and sda pins. currently i am running below code after connecting slc =Pin(5) sda=Pin(4) from i2c to esp8266.
i used lcd.clear() to clear the screen but it is not happening.
from machine import Pin
from nodemcu_gpio_lcd import GpioLcd
lcd = GpioLcd(rs_pin=Pin(16),enable_pin=Pin(5),d4_pin=Pin(4),d5_pin=Pin(0),d6_pin=Pin(2),d7_pin=Pin(14),num_lines=2, num_columns=16)