from machine import Pin, I2C
from ssd1306 import SSD1306_I2C
import time

ancho = 128
alto = 64 

i2c= I2C(0, scl=Pin(18), sda= Pin(19))
oled =SSD1306_I2C(ancho, alto, i2c)

print(i2c.scan())
print(i2c)

while True:
    oled.text("Bienvenidos", 0,0)
    oled.text("------------", 0,10)
    oled.text("A este nuevo", 0,20)
    oled.text("-----------", 0,30)
    oled.text("Sistema de ", 0,40)
    oled.text("Informacion", 0,50)
    oled.show()
    time.sleep(2)