This commit is contained in:
Robert Borzutzki 2022-10-19 13:25:27 +02:00
parent e2025aae60
commit cae56b7cb7

View File

@ -78,7 +78,7 @@ def on_message(client, userdata, msg):
line = 60 line = 60
print(line) print(line)
drawblack.text((150, line), "", font = font10, fill = 0) drawblack.text((150, line), " ", font = font10, fill = 0)
epd.DisplayPartial(epd.getbuffer(HBlackimage)) epd.DisplayPartial(epd.getbuffer(HBlackimage))
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))