diff options
| author | Abdellah El Morabit <nsrddyn@gmail.com> | 2024-12-02 13:43:30 +0100 |
|---|---|---|
| committer | Abdellah El Morabit <nsrddyn@gmail.com> | 2024-12-02 13:43:30 +0100 |
| commit | 9a2f1f4f07dc98f2f9298b49b20381b15deae715 (patch) | |
| tree | b802ef8615db746d0de067d1b750a901788107db /source | |
| parent | 822fff770e80b427908de348000f6d43306089cc (diff) | |
lcd initialization fix
Diffstat (limited to 'source')
| -rw-r--r-- | source/main.py | 3 |
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 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) |
