This commit is contained in:
Robert Borzutzki 2022-10-19 10:22:56 +02:00
parent 57c06967fc
commit b158123f60

View File

@ -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()}`")