This commit is contained in:
Robert Borzutzki 2022-10-19 13:21:41 +02:00
parent 7b42e59369
commit ffcf010695

View File

@ -79,7 +79,7 @@ def on_message(client, userdata, msg):
print(line)
drawblack.text((150, line), msg.payload.decode(), font = font10, fill = 0)
epd.displayPartial(epd.getbuffer(HBlackimage))
epd.DisplayPartial(epd.getbuffer(HBlackimage))
#print(f"`{msg.topic}`: `{msg.payload.decode()}`")
Connected = False #global variable for the state of the connection