test
This commit is contained in:
parent
509f9f27a3
commit
a1f7291e77
1 changed files with 2 additions and 1 deletions
3
oled.py
3
oled.py
|
@ -8,5 +8,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")
|
||||
print("test")
|
||||
draw.text((30, 40), "Hello World", fill="white")
|
||||
|
|
Loading…
Reference in a new issue