fix partUpdater

This commit is contained in:
Robert Borzutzki 2022-10-19 13:20:44 +02:00
parent 36320e48b7
commit 7b42e59369

View File

@ -78,9 +78,6 @@ def on_message(client, userdata, msg):
line = 60 line = 60
print(line) print(line)
epd.displayPartBaseImage(epd.getbuffer(HBlackimage))
epd.init(epd.PART_UPDATE)
drawblack.text((150, line), msg.payload.decode(), font = font10, fill = 0) drawblack.text((150, line), msg.payload.decode(), font = font10, fill = 0)
epd.displayPartial(epd.getbuffer(HBlackimage)) epd.displayPartial(epd.getbuffer(HBlackimage))
#print(f"`{msg.topic}`: `{msg.payload.decode()}`") #print(f"`{msg.topic}`: `{msg.payload.decode()}`")