add 10 sec sleep

This commit is contained in:
Robert Borzutzki 2022-10-19 15:19:09 +02:00
parent f163533b08
commit 463149a2ab

View File

@ -82,10 +82,10 @@ def on_message(client, userdata, msg):
line = 60
print(line)
drawblack.rectangle((150, line, 220, 50), fill = 0)
drawblack.rectangle((150, line, 220, 50), fill = 255)
drawblack.text((150, line), msg.payload.decode(), font = font10, fill = 0)
epd.DisplayPartial(epd.getbuffer(HBlackimage))
time.sleep(1)
time.sleep(10)
#print(f"`{msg.topic}`: `{msg.payload.decode()}`")
Connected = False #global variable for the state of the connection