oo
This commit is contained in:
parent
57c06967fc
commit
b158123f60
@ -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((100, 0), '99', font = font10, fill = 0)
|
||||
drawblack.text((100, 15), '99', font = font10, fill = 0)
|
||||
drawblack.text((100, 30), '99', font = font10, fill = 0)
|
||||
drawblack.text((100, 45), '99', font = font10, fill = 0)
|
||||
drawblack.text((100, 60), '99', font = font10, fill = 0)
|
||||
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)
|
||||
epd.display(epd.getbuffer(HBlackimage), epd.getbuffer(HRedimage))
|
||||
print(f"`{msg.topic}`: `{msg.payload.decode()}`")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user