from machine import Pin, I2C
from lcd_api import LcdApi # LcdApi and I2cLcd is to control the I2C, LCD
from pico_i2c_lcd import I2cLcd
import time
i2c = I2C(0, scl=Pin(1), sda=Pin(0), freq=400000)
lcd = I2cLcd(i2c, 0x27, 2, 16)
lcd.clear()
lcd.putstr("LCD TEST OK")
lcd.move_to(0, 1)
lcd.putstr("Hello Layson!")
Loading
pi-pico-w
pi-pico-w