From a30459874e714257f2e6eb3488d4b98af35c5a3f Mon Sep 17 00:00:00 2001 From: Robert Borzutzki Date: Wed, 19 Oct 2022 15:04:59 +0200 Subject: [PATCH] fix --- examples/mqtt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/mqtt.py b/examples/mqtt.py index ccb084e..b1b2ef5 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((150, 0, 120, 50), fill = 255) + values_draw.rectangle((150, line, 120, 50), fill = 255) 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()}`")