diff options
Diffstat (limited to 'source/main.py')
| -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 | |||
| 14 | 14 | ||
| 15 | L = lcd() | 15 | L = lcd() |
| 16 | 16 | ||
| 17 | |||
| 18 | class mainWindow(QMainWindow): | 17 | class 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 | ||
