Skip to content

Commit 8a420ca

Browse files
committed
update qrcode.py with badger w details
1 parent 9bba17c commit 8a420ca

File tree

1 file changed

+6
-5
lines changed
  • micropython/examples/badger2040w/examples

1 file changed

+6
-5
lines changed

micropython/examples/badger2040w/examples/qrgen.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,16 @@
1515
text = open("/qrcodes/qrcode.txt", "r")
1616
except OSError:
1717
text = open("/qrcodes/qrcode.txt", "w")
18-
text.write("""https://pimoroni.com/badger2040
19-
Badger 2040
18+
text.write("""https://pimoroni.com/badger2040w
19+
Badger 2040 W
2020
* 296x128 1-bit e-ink
21-
* six user buttons
21+
* 2.4GHz wireless
22+
* five user buttons
2223
* user LED
2324
* 2MB QSPI flash
2425
2526
Scan this code to learn
26-
more about Badger 2040.
27+
more about Badger 2040 W.
2728
""")
2829
text.flush()
2930
text.seek(0)
@@ -125,7 +126,7 @@ def draw_qr_file(n):
125126
if display.pressed(badger2040w.BUTTON_B) or display.pressed(badger2040w.BUTTON_C):
126127
display.set_pen(15)
127128
display.clear()
128-
badger_os.warning(display, "To add QR codes, connect Badger2040W to a PC, load up Thonny, and see qrgen.py.")
129+
badger_os.warning(display, "To add QR codes, connect Badger 2040 W to a PC, load up Thonny, and add files to /qrcodes directory.")
129130
time.sleep(4)
130131
changed = True
131132

0 commit comments

Comments
 (0)