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