Updated layout for Inky Frame 7 & 4

inkyframe7-launch
thirdr 2023-02-07 12:13:42 +00:00
rodzic e8ff06dac8
commit bc89afb58c
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -174,11 +174,11 @@ while True:
graphics.text(feed[2]["description"], 10, 395 if graphics.measure_text(feed[2]["title"]) < 650 else 375, WIDTH - 150, 2)
code.set_text(feed[0]["guid"])
draw_qr_code(490, 40, 100, code)
draw_qr_code(WIDTH - 110, 40, 100, code)
code.set_text(feed[1]["guid"])
draw_qr_code(10, 180, 100, code)
code.set_text(feed[2]["guid"])
draw_qr_code(490, 320, 100, code)
draw_qr_code(WIDTH - 110, 320, 100, code)
else:
graphics.set_pen(4)