test
This commit is contained in:
parent
524905ba08
commit
515a6a5c38
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, 10, (255,255,255), size=2)
|
||||||
display.show()
|
display.show()
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
Loading…
Reference in a new issue