diff --git a/examples/mqtt.py b/examples/mqtt.py index bd2b279..5ea107d 100644 --- a/examples/mqtt.py +++ b/examples/mqtt.py @@ -82,7 +82,7 @@ def on_message(client, userdata, msg): line = 60 print(line) - values_draw.rectangle((250, line, 120, 50), fill = 0) + values_draw.rectangle((20, line, 150, 50), fill = 0) values_draw.text((150, line), msg.payload.decode(), font = font10, fill = 0) epd.DisplayPartial(epd.getbuffer(values_image)) #print(f"`{msg.topic}`: `{msg.payload.decode()}`")