diff --git a/examples/mqtt.py b/examples/mqtt.py index b14ac51..2a41042 100644 --- a/examples/mqtt.py +++ b/examples/mqtt.py @@ -66,11 +66,11 @@ def on_connect(client, userdata, flags, rc): print("Failed to connect, return code %d\n", rc) def on_message(client, userdata, msg): - drawblack.text((100, 0), '99', font = font10, fill = 0) - drawblack.text((100, 15), '99', font = font10, fill = 0) - drawblack.text((100, 30), '99', font = font10, fill = 0) - drawblack.text((100, 45), '99', font = font10, fill = 0) - drawblack.text((100, 60), '99', font = font10, fill = 0) + drawblack.text((130, 0), '99', font = font10, fill = 0) + drawblack.text((130, 15), '99', font = font10, fill = 0) + drawblack.text((130, 30), '99', font = font10, fill = 0) + drawblack.text((130, 45), '99', font = font10, fill = 0) + drawblack.text((130, 60), '99', font = font10, fill = 0) epd.display(epd.getbuffer(HBlackimage), epd.getbuffer(HRedimage)) print(f"`{msg.topic}`: `{msg.payload.decode()}`")