From e2025aae60adc2060aa695c0c962eaf59153bc31 Mon Sep 17 00:00:00 2001 From: Robert Borzutzki Date: Wed, 19 Oct 2022 13:24:12 +0200 Subject: [PATCH] fix --- examples/mqtt.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/mqtt.py b/examples/mqtt.py index 14e4518..a6a55e5 100644 --- a/examples/mqtt.py +++ b/examples/mqtt.py @@ -78,6 +78,8 @@ def on_message(client, userdata, msg): line = 60 print(line) + drawblack.text((150, line), "", font = font10, fill = 0) + epd.DisplayPartial(epd.getbuffer(HBlackimage)) drawblack.text((150, line), msg.payload.decode(), font = font10, fill = 0) epd.DisplayPartial(epd.getbuffer(HBlackimage)) #print(f"`{msg.topic}`: `{msg.payload.decode()}`")