test
This commit is contained in:
parent
13fb38fc09
commit
3afd1c10a0
1 changed files with 2 additions and 2 deletions
4
oled.py
4
oled.py
|
@ -10,9 +10,9 @@ serial = i2c(port=1, address=0x3C)
|
||||||
device = ssd1306(serial)
|
device = ssd1306(serial)
|
||||||
|
|
||||||
#fonts
|
#fonts
|
||||||
name_font=ImageFont.truetype("Purisa", 20, "bold")
|
name_font=ImageFont.truetype("Purisa", 20)
|
||||||
name_position=(50,0)
|
name_position=(50,0)
|
||||||
user_id_font=ImageFont.truetype("Purisa", 20, "bold")
|
user_id_font=ImageFont.truetype("Purisa", 20)
|
||||||
user_id_position=(30,0)
|
user_id_position=(30,0)
|
||||||
|
|
||||||
def balance(user_name, balance):
|
def balance(user_name, balance):
|
||||||
|
|
Loading…
Reference in a new issue