My experimentation with the Badger 2040 hardware that I got at GitHub Universe 2023.
Context and details: https://github.com/badger2040/home
badger-2040-mname.mp4
- Loops text from left to right like the HTML Marquee tag.
- Buttons
A
: Start loopingC
: Stop loopingB
: Display instructions
- Files:
examples/mname.py
andexamples/icon-mname.jpg
badger-2040-profiles.mp4
- Loops through user profiles in
/profiles
. - Buttons
UP
andDOWN
: Loop through the profile files in/profiles
B
: Display instructions
- Files
examples/profiles.py
andexamples/icon-profiles.jpg
- Profiles
- Profile data (
.txt
only) and logos (.jpg
only) should be placed in/profiles
. - Profile data format (Place the following on one line each.)
uri
: Path to logo starting with/profiles/...
is_qr_code
: Is theuri
to be rendered as a QR code? (Not implemented yet, so value does not matter.)uri_x
: Logo/QR Code position from the left of the screenuri_y
: Logo/QR Code position from the top of the screenname
: Name to be displayedname_x
: Name position from the left of the screenname_scale
: Scale/size of the text (Value range: 0 to 1)post
: Position in an organisationpost_x
: Post position from the left of the screenorg
: Name of the organisationorg_x
: Organisation name position from the left of the screenpronouns
: User's pronounspronouns_x
: User's pronoun position from the left of the screen
- Sample profiles
- AMD:
profiles/amd.txt
andprofiles/amd-logo.jpg
- OTC:
profiles/otc.txt
andprofiles/otc-logo.jpg
- AMD:
- Profile data (