from machine import I2C, Pin
from pico_i2c_lcd import I2cLcd
import utime
# Define the I2C pins (SCL and SDA)
i2c = I2C(0, sda=Pin(0), scl=Pin(1), freq=400000) # Use the appropriate pins and frequency
# Create an instance of the I2cLcd class
lcd = I2cLcd(i2c, 0x27, 2, 16) # Adjust the address and LCD dimensions as needed
# Print a message on the LCD
lcd.putstr("Hello,Raspberry!")
'''while True:
# Main loop, do other tasks if needed
utime.sleep(1)'''