summaryrefslogtreecommitdiff
path: root/source/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'source/main.py')
-rw-r--r--source/main.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/source/main.py b/source/main.py
index 5bad9d9..81bd07a 100644
--- a/source/main.py
+++ b/source/main.py
@@ -8,11 +8,13 @@ from PySide6.QtWidgets import (
8 QWidget, 8 QWidget,
9) 9)
10from PySide6.QtCore import Qt 10from PySide6.QtCore import Qt
11import hardware_driver as lcd 11import hardware_driver as LCD
12import features as fe
12import sys 13import sys
13 14
15F = fe()
16L = LCD()
14 17
15L = lcd()
16 18
17class mainWindow(QMainWindow): 19class mainWindow(QMainWindow):
18 def __init__(self): 20 def __init__(self):
@@ -38,7 +40,7 @@ class mainWindow(QMainWindow):
38 central_widget.setLayout(layout) 40 central_widget.setLayout(layout)
39 41
40 def clear_screen(): 42 def clear_screen():
41 L.clear() 43 fe.clear()
42 self.label.setText("Cleared the LCD screen", self) 44 self.label.setText("Cleared the LCD screen", self)
43 45
44 46