from machine import I2C, Pin
from i2c_lcd import I2cLcd
add = 0x27
i2c = I2C(scl=Pin(22), sda=Pin(21), freq=400000) # connect scl to GPIO 22, sda to GPIO 21
lcd = I2cLcd(i2c, add, 2, 16)
lcd.move_to(3,0)
lcd.putstr('Micropython')
from machine import I2C, Pin
from i2c_lcd import I2cLcd
add = 0x27
i2c = I2C(scl=Pin(22), sda=Pin(21), freq=400000) # connect scl to GPIO 22, sda to GPIO 21
lcd = I2cLcd(i2c, add, 2, 16)
lcd.move_to(3,0)
lcd.putstr('Micropython')