ll
This commit is contained in:
parent
cf908f31b9
commit
d034a6cc29
@ -82,7 +82,7 @@ def on_message(client, userdata, msg):
|
|||||||
line = 60
|
line = 60
|
||||||
|
|
||||||
print(line)
|
print(line)
|
||||||
values_draw.rectangle((150, line, 120, 50), fill = 0)
|
values_draw.rectangle((250, line, 120, 50), fill = 0)
|
||||||
values_draw.text((150, line), msg.payload.decode(), font = font10, fill = 0)
|
values_draw.text((150, line), msg.payload.decode(), font = font10, fill = 0)
|
||||||
epd.DisplayPartial(epd.getbuffer(values_image))
|
epd.DisplayPartial(epd.getbuffer(values_image))
|
||||||
#print(f"`{msg.topic}`: `{msg.payload.decode()}`")
|
#print(f"`{msg.topic}`: `{msg.payload.decode()}`")
|
||||||
|
Loading…
Reference in New Issue
Block a user