test
This commit is contained in:
parent
e7fd1a3005
commit
524905ba08
1 changed files with 1 additions and 0 deletions
1
oled.py
1
oled.py
|
@ -14,6 +14,7 @@ def Balance(user_id, user_name, balance):
|
||||||
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)
|
||||||
|
display.show()
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
Balance(1, "Test", 255)
|
Balance(1, "Test", 255)
|
||||||
|
|
Loading…
Reference in a new issue