This commit is contained in:
bton 2024-04-10 21:35:53 +02:00
parent 509f9f27a3
commit a1f7291e77

View file

@ -8,5 +8,6 @@ serial = i2c(port=1, address=0x3C)
device = ssd1306(serial) device = ssd1306(serial)
with canvas(device) as draw: with canvas(device) as draw:
draw.rectangle(device.bounding_box, outline="white", fill="black") #draw.rectangle(device.bounding_box, outline="white", fill="black")
print("test")
draw.text((30, 40), "Hello World", fill="white") draw.text((30, 40), "Hello World", fill="white")