from machine import Pin, SoftI2C
from i2c_lcd import I2cLcd
lcd_address = 0x27
i2c = SoftI2C(scl = Pin(22), sda = Pin(21), freq = 400000)
lcd = I2cLcd(i2c, lcd_address, 2, 16) # the display has 2 rows and 16 columns
lcd.putstr('MicroPython') # LCD display output: MicroPython