From e80b943e3cf583dbe67e67faeeca06a9c50c5d57 Mon Sep 17 00:00:00 2001 From: bton Date: Fri, 12 Apr 2024 20:01:38 +0200 Subject: [PATCH] test --- oled.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oled.py b/oled.py index 416078c..a14b814 100644 --- a/oled.py +++ b/oled.py @@ -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):