summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbdellah El Morabit <nsrddyn@gmail.com>2024-12-02 13:43:30 +0100
committerAbdellah El Morabit <nsrddyn@gmail.com>2024-12-02 13:43:30 +0100
commit9a2f1f4f07dc98f2f9298b49b20381b15deae715 (patch)
treeb802ef8615db746d0de067d1b750a901788107db
parent822fff770e80b427908de348000f6d43306089cc (diff)
lcd initialization fix
-rw-r--r--source/main.py3
1 files changed, 1 insertions, 2 deletions
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
14 14
15L = lcd() 15L = lcd()
16 16
17
18class mainWindow(QMainWindow): 17class mainWindow(QMainWindow):
19 def __init__(self): 18 def __init__(self):
20 super().__init__() 19 super().__init__()
@@ -39,7 +38,7 @@ class mainWindow(QMainWindow):
39 central_widget.setLayout(layout) 38 central_widget.setLayout(layout)
40 39
41 def clear_screen(): 40 def clear_screen():
42 lcd.clear() 41 L.clear()
43 self.label.setText("Cleared the LCD screen", self) 42 self.label.setText("Cleared the LCD screen", self)
44 43
45 44