from lcd import LCD
import time
lcd= LCD(rs=0,en=2,d4=3, d5=4, d6=5, d7=6)
texto = "hola como estas efecto marquesina"
lenght = len(texto)
while True:
for i in range(lenght - 15):
lcd.move_to(0, 0)
for j in range(16):
lcd.putstr(texto[i + j])
if i + j >= lenght:
break
print(i)
time.sleep(0.5)