This commit is contained in:
Robert Borzutzki 2022-10-19 13:24:12 +02:00
parent ffcf010695
commit e2025aae60

View File

@ -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()}`")