import LCD
import utime
# Initialize the LCD
LCD.lcd_init()
# Initialize counter
count = 0
while True:
# Go to first column, first row
LCD.lcd_goto(0, 0)
# Convert count to string
cntstr = str(count)
# Display the count on LCD
LCD.lcd_puts(cntstr)
# Increment the counter
count = count + 1
# Wait for 1 second
utime.sleep(1)