diff --git a/examples/mqtt.py b/examples/mqtt.py index b9c6303..7297026 100644 --- a/examples/mqtt.py +++ b/examples/mqtt.py @@ -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