add 10 sec sleep
This commit is contained in:
parent
f163533b08
commit
463149a2ab
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user