import utime
from machine import Pin, I2C
from pico_i2c_lcd import I2cLcd
utime.sleep(1)
i2c = I2C(0, scl=Pin(1), sda=Pin(0), freq=400000)
devices = i2c.scan()
print("I2C devices:", [hex(d) for d in devices])
lcd = I2cLcd(i2c, 0x27, 2, 16)
lcd.putstr("Hello student !")
lcd.move_to(0, 1)
lcd.putstr("Second Line !")
#lcd.clear()
lcd.move_to(0, 1)
utime.sleep(1)
lcd.putstr("LM35C" + " C")