This commit is contained in:
Robert Borzutzki 2022-10-19 15:04:59 +02:00
parent b0e9a601e1
commit a30459874e

View File

@ -82,7 +82,7 @@ def on_message(client, userdata, msg):
line = 60
print(line)
values_draw.rectangle((150, 0, 120, 50), fill = 255)
values_draw.rectangle((150, line, 120, 50), fill = 255)
values_draw.text((150, line), msg.payload.decode(), font = font10, fill = 0)
epd.DisplayPartial(epd.getbuffer(values_image))
#print(f"`{msg.topic}`: `{msg.payload.decode()}`")