test
This commit is contained in:
parent
266760c1e7
commit
4d995d1a09
1 changed files with 1 additions and 1 deletions
2
oled.py
2
oled.py
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue