test
This commit is contained in:
parent
3278d209e1
commit
232cb30965
1 changed files with 1 additions and 1 deletions
2
oled.py
2
oled.py
|
@ -12,7 +12,7 @@ def clear():
|
||||||
def Balance(user_name, balance):
|
def Balance(user_name, balance):
|
||||||
clear()
|
clear()
|
||||||
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, 20, (255,255,255), size=2)
|
display.text(str(balance), 0, 15, (255,255,255), size=2)
|
||||||
display.show()
|
display.show()
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
Loading…
Reference in a new issue