test
This commit is contained in:
parent
23ad65ae6b
commit
0c238ebd0c
1 changed files with 2 additions and 2 deletions
4
oled.py
4
oled.py
|
@ -21,6 +21,6 @@ def balance(user_name, balance):
|
|||
|
||||
with canvas(device) as draw:
|
||||
#draw.rectangle(device.bounding_box, outline="white", fill="black")
|
||||
draw.text(user_id_position, "1", fill="white", font=(user_id_font))
|
||||
draw.text(name_position, "Test", fill="white", font=(name_font))
|
||||
draw.create_text(user_id_position, "1", fill="white", font=(user_id_font))
|
||||
draw.create_text(name_position, "Test", fill="white", font=(name_font))
|
||||
time.sleep(10)
|
||||
|
|
Loading…
Reference in a new issue