from machine import Pin, SoftI2C
from i2c_lcd import I2cLcd
from utime import sleep, sleep_ms
adress = 0x27
i2c = SoftI2C(scl=Pin(22), sda=Pin(21), freq=100000) # connect scl to GPIO 22, sda to GPIO 21
lcd = I2cLcd(i2c, adress, 2, 16)
for i in range(11):
lcd.move_to(i,0)
lcd.putstr('(----')
sleep(0,3)
lcd.clear()
led more_to(10,1)
lcd.putstr('--hi--')