This commit is contained in:
Robert Borzutzki 2022-10-19 10:55:43 +02:00
parent c1fe677fc2
commit d4b9a36c22

View File

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