fix partUpdater
This commit is contained in:
parent
36320e48b7
commit
7b42e59369
@ -78,9 +78,6 @@ def on_message(client, userdata, msg):
|
|||||||
line = 60
|
line = 60
|
||||||
|
|
||||||
print(line)
|
print(line)
|
||||||
epd.displayPartBaseImage(epd.getbuffer(HBlackimage))
|
|
||||||
|
|
||||||
epd.init(epd.PART_UPDATE)
|
|
||||||
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))
|
||||||
#print(f"`{msg.topic}`: `{msg.payload.decode()}`")
|
#print(f"`{msg.topic}`: `{msg.payload.decode()}`")
|
||||||
|
Loading…
Reference in New Issue
Block a user