from machine import Pin, I2C
import framebuf
import time
import ssd1306
from einstein_bits import image_bytes # Importa el arreglo desde tu archivo
# Inicializar I2C y OLED
i2c = I2C(0, scl=Pin(22), sda=Pin(21))
oled = ssd1306.SSD1306_I2C(128, 64, i2c)
# Crear un framebuffer con la imagen
fbuf = framebuf.FrameBuffer(image_bytes, 128, 64, framebuf.MONO_HLSB)
# Mostrar el logo en pantalla
oled.fill(0)
oled.blit(fbuf, 0, 0)
oled.show()