from machine import I2C, Pin
from time import sleep

from pico_i2c_lcd import I2cLcd

i2c = I2C(0, sda=Pin(0), scl=Pin(1), freq=400000)

I2C_ADDR = i2c.scan()[0]

lcd = I2cLcd(i2c, I2C_ADDR, 4, 20)

i = 0

while True:
    lcd.putstr(str(i) + " " * len(str(i)))
    # sleep(1)
    i = i + 1
    if i % 20 == 0: lcd.clear()
    if i >= 100: break
$abcdeabcde151015202530354045505560fghijfghij
BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT