Getting started
#
PrerequisitesYou'll need Python 3.6 or higher and the circup package manager.
Install circup by running:
caution
Depending on your system configuration, you may need to use pip3
instead of pip
.
#
Getting the codeClone the firmware repo to your computer:
Then, connect your badge to your computer. It should appear as a usb drive. Update your badge's CircuitPython libraries with circup:
Then copy the files from the cloned repository into the badge. You can skip the .git
directory.
#
Editing the codeThe recommended code editor is Visual Studio Code.
You can edit the code directly on the badge drive. Whenever you make a change, the firmware will automatically restart so you can see your changes immediately.
Open the serial console to see the debug prints of your code. If the code doesn't run automatically when you save a file, you may need to go to the REPL and press Ctrl-D to soft-restart the firmware.