From 3eea36fd78e657109e40759e10cde8cece10146e Mon Sep 17 00:00:00 2001 From: Robert Borzutzki Date: Wed, 19 Oct 2022 13:03:03 +0200 Subject: [PATCH] change to version2 --- examples/mqtt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/mqtt.py b/examples/mqtt.py index daffc10..a55b261 100644 --- a/examples/mqtt.py +++ b/examples/mqtt.py @@ -79,7 +79,7 @@ def on_message(client, userdata, msg): print(line) drawblack.text((150, line), msg.payload.decode(), font = font10, fill = 0) - epd.displayPartial(epd.getbuffer(HBlackimage), epd.getbuffer(HRedimage)) + epd.displayPartial(epd.getbuffer(HBlackimage)) #print(f"`{msg.topic}`: `{msg.payload.decode()}`") Connected = False #global variable for the state of the connection