from machine import I2C, Pin
from i2c_lcd import I2clcd
from utime import sleep
DEFAULT_I2C_ADDR = 0x3F
i2c = I2C(0,sda=Pin(0),scl=Pin(1),freq=400000)
lcd = I2clcd(i2c, DEFAULT_I2C_ADDR, 2, 26)
text = 'Hola Senatinos putos'
while True:
tmp = text
for i in range(0, len(text)):
lcd.move_to(len(text),1)
lcd.putstr(tmp)
tmp = tmp[1:]
sleep(0.8)
lcd.clear()