This commit is contained in:
bton 2024-04-12 20:01:38 +02:00
parent 3afd1c10a0
commit e80b943e3c

View file

@ -10,9 +10,9 @@ serial = i2c(port=1, address=0x3C)
device = ssd1306(serial)
#fonts
name_font=ImageFont.truetype("Purisa", 20)
name_font=ImageFont.truetype("Purisa.ttf", 20)
name_position=(50,0)
user_id_font=ImageFont.truetype("Purisa", 20)
user_id_font=ImageFont.truetype("Purisa.ttf", 20)
user_id_position=(30,0)
def balance(user_name, balance):