- display heater power on LCD

This commit is contained in:
jens
2020-11-25 11:03:10 +01:00
parent 6c5b5d0507
commit 50db5c740f
3 changed files with 619 additions and 44 deletions
+3 -1
View File
@@ -42,13 +42,15 @@ class Window(QtWidgets.QMainWindow, Ui_MainWindow):
async def on_pot_changed(self, msg):
print("on_pot_changed {}".format(msg))
if "Power" in msg:
self.lcdNumber.display(msg['Power'])
self.lcdNumber_2.display(msg['Power'])
async def on_sensor_changed(self, msg):
print("on_sensor_changed {}".format(msg))
async def on_heater_changed(self, msg):
print("on_heater_changed {}".format(msg))
if "Power" in msg:
self.lcdNumber.display(msg['Power'])
def closeEvent(self, event):
print("Exitting gracefully!")