From 0c238ebd0cb24f5fd40b2460cca865b4c5277219 Mon Sep 17 00:00:00 2001 From: bton Date: Fri, 12 Apr 2024 18:43:00 +0200 Subject: [PATCH] test --- oled.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oled.py b/oled.py index 6150bf2..513e0d2 100644 --- a/oled.py +++ b/oled.py @@ -21,6 +21,6 @@ def balance(user_name, balance): with canvas(device) as draw: #draw.rectangle(device.bounding_box, outline="white", fill="black") - draw.text(user_id_position, "1", fill="white", font=(user_id_font)) - draw.text(name_position, "Test", fill="white", font=(name_font)) + draw.create_text(user_id_position, "1", fill="white", font=(user_id_font)) + draw.create_text(name_position, "Test", fill="white", font=(name_font)) time.sleep(10)