test
This commit is contained in:
parent
a8757475d3
commit
e7fd1a3005
1 changed files with 1 additions and 1 deletions
2
oled.py
2
oled.py
|
@ -13,7 +13,7 @@ def Balance(user_id, user_name, balance):
|
||||||
clear()
|
clear()
|
||||||
display.text(str(user_id), 0, 0, (255,255,255), size=1)
|
display.text(str(user_id), 0, 0, (255,255,255), size=1)
|
||||||
display.text(str(user_name), 50, 0, (255,255,255), size=1)
|
display.text(str(user_name), 50, 0, (255,255,255), size=1)
|
||||||
display.text(str(balance), 0, 50, (255,255,255, size=2))
|
display.text(str(balance), 0, 50, (255,255,255), size=2)
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
Balance(1, "Test", 255)
|
Balance(1, "Test", 255)
|
||||||
|
|
Loading…
Reference in a new issue