change to version2
This commit is contained in:
parent
71c72befe3
commit
3eea36fd78
@ -79,7 +79,7 @@ def on_message(client, userdata, msg):
|
|||||||
|
|
||||||
print(line)
|
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.displayPartial(epd.getbuffer(HBlackimage), epd.getbuffer(HRedimage))
|
epd.displayPartial(epd.getbuffer(HBlackimage))
|
||||||
#print(f"`{msg.topic}`: `{msg.payload.decode()}`")
|
#print(f"`{msg.topic}`: `{msg.payload.decode()}`")
|
||||||
|
|
||||||
Connected = False #global variable for the state of the connection
|
Connected = False #global variable for the state of the connection
|
||||||
|
Loading…
Reference in New Issue
Block a user