This commit is contained in:
bton 2024-04-10 21:47:36 +02:00
parent b404d0c888
commit 266760c1e7

View file

@ -9,6 +9,6 @@ serial = i2c(port=1, address=0x3C)
device = ssd1306(serial)
with canvas(device) as draw:
#draw.rectangle(device.bounding_box, outline="white", fill="black")
draw.rectangle(device.bounding_box, outline="white", fill="black")
draw.text((30, 0), "Hello World", fill="white")
time.sleep(10)
time.sleep(10)