From 9a2f1f4f07dc98f2f9298b49b20381b15deae715 Mon Sep 17 00:00:00 2001 From: Abdellah El Morabit Date: Mon, 2 Dec 2024 13:43:30 +0100 Subject: lcd initialization fix --- source/main.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source') diff --git a/source/main.py b/source/main.py index 20cc29b..5bad9d9 100644 --- a/source/main.py +++ b/source/main.py @@ -14,7 +14,6 @@ import sys L = lcd() - class mainWindow(QMainWindow): def __init__(self): super().__init__() @@ -39,7 +38,7 @@ class mainWindow(QMainWindow): central_widget.setLayout(layout) def clear_screen(): - lcd.clear() + L.clear() self.label.setText("Cleared the LCD screen", self) -- cgit v1.2.3-70-g09d2