test
This commit is contained in:
parent
4d62036c5c
commit
a14cc42c9b
1 changed files with 1 additions and 1 deletions
2
oled.py
2
oled.py
|
@ -19,7 +19,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, position_x, (255,255,255), size=2)
|
display.text(str(balance), position_x, 0, (255,255,255), size=2)
|
||||||
display.show()
|
display.show()
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
Loading…
Reference in a new issue