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.pyandexamples/icon-mname.jpg
badger-2040-profiles.mp4
- Loops through user profiles in
/profiles. - Buttons
UPandDOWN: Loop through the profile files in/profilesB: Display instructions
- Files
examples/profiles.pyandexamples/icon-profiles.jpg- Profiles
- Profile data (
.txtonly) and logos (.jpgonly) 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 theurito 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.txtandprofiles/amd-logo.jpg - OTC:
profiles/otc.txtandprofiles/otc-logo.jpg
- AMD:
- Profile data (