ll
This commit is contained in:
parent
b158123f60
commit
b61e9c9044
@ -66,11 +66,11 @@ def on_connect(client, userdata, flags, rc):
|
||||
print("Failed to connect, return code %d\n", rc)
|
||||
|
||||
def on_message(client, userdata, msg):
|
||||
drawblack.text((130, 0), '99', font = font10, fill = 0)
|
||||
drawblack.text((130, 15), '99', font = font10, fill = 0)
|
||||
drawblack.text((130, 30), '99', font = font10, fill = 0)
|
||||
drawblack.text((130, 45), '99', font = font10, fill = 0)
|
||||
drawblack.text((130, 60), '99', font = font10, fill = 0)
|
||||
drawblack.text((150, 0), '99', font = font10, fill = 0)
|
||||
drawblack.text((150, 15), '99', font = font10, fill = 0)
|
||||
drawblack.text((150, 30), '99', font = font10, fill = 0)
|
||||
drawblack.text((150, 45), '99', font = font10, fill = 0)
|
||||
drawblack.text((150, 60), '99', font = font10, fill = 0)
|
||||
epd.display(epd.getbuffer(HBlackimage), epd.getbuffer(HRedimage))
|
||||
print(f"`{msg.topic}`: `{msg.payload.decode()}`")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user