Skip to content

Commit

Permalink
QRGen: Correct details for each Badger.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gadgetoid committed Mar 21, 2023
1 parent e6133d3 commit 6cdd0a4
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions badger_os/examples/qrgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,28 @@
text = open("/qrcodes/qrcode.txt", "r")
except OSError:
text = open("/qrcodes/qrcode.txt", "w")
text.write("""https://pimoroni.com/badger2040
if badger2040.is_wireless():
text.write("""https://pimoroni.com/badger2040w
Badger 2040 W
* 296x128 1-bit e-ink
* 2.4GHz wireless
* 2.4GHz wireless & RTC
* five user buttons
* user LED
* 2MB QSPI flash
Scan this code to learn
more about Badger 2040 W.
""")
else:
text.write("""https://pimoroni.com/badger2040
Badger 2040
* 296x128 1-bit e-ink
* five user buttons
* user LED
* 2MB QSPI flash
Scan this code to learn
more about Badger 2040.
""")
text.flush()
text.seek(0)
Expand Down

0 comments on commit 6cdd0a4

Please sign in to comment.