This commit is contained in:
bton 2024-04-10 21:48:16 +02:00
parent 266760c1e7
commit 4d995d1a09

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)