kopia lustrzana https://github.com/pimoroni/pimoroni-pico
Updated layout for Inky Frame 7 & 4
rodzic
e8ff06dac8
commit
bc89afb58c
|
@ -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)
|
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"])
|
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"])
|
code.set_text(feed[1]["guid"])
|
||||||
draw_qr_code(10, 180, 100, code)
|
draw_qr_code(10, 180, 100, code)
|
||||||
code.set_text(feed[2]["guid"])
|
code.set_text(feed[2]["guid"])
|
||||||
draw_qr_code(490, 320, 100, code)
|
draw_qr_code(WIDTH - 110, 320, 100, code)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
graphics.set_pen(4)
|
graphics.set_pen(4)
|
||||||
|
|
Ładowanie…
Reference in New Issue