from lcd.lcd import LCD
from lcd.i2c_pcf8574_interface import I2CPCF8574Interface
from lcd.lcd import CursorMode
from time import sleep
# Modify this if you have a different sized Character LCD
lcd_columns = 16
lcd_rows = 2
# Initialise I2C bus.
i2c = busio.I2C(scl=board.GP5, sda=board.GP4)
# Initialise the lcd class
lcd = character_lcd.Character_LCD_I2C(i2c, lcd_columns, lcd_rows,0x27)
# Turn backlight on
# lcd.backlight = True
# Print a two line message
lcd.message = "Hello\nCircuitPython"
time.sleep(60)