Tree @main (Download .tar.gz)
- Copy all files from this repository to the CircuitPython drive
- Install the dependencies:
- using circup:
$ circup [--path /path/to/drive] install -r requirements.txt
- manually download the needed libraries from the Adafruit CircuitPython Library Bundle
and place them in the
- Set hardware settings in
Import the module from
hex33board.boardscorresponding to the hardware revision you have.
After a reset,
boot.py is executed. Depending on the
dev_mode value in
whether the menu button (very top left of the board) is pressed, the board boots in different modes:
dev_mode = False and the button not pressed, the board starts in "normal mode".
The board will show up as a read-only flash drive on the computer,
and settings changed in the boards menu will be saved automatically.
When the button is pressed, the board starts in "dev mode". In this case the board shows up read-write on the computer and will autoreload as the firmware is changed. While "dev mode" is active, settings changed on the board aren't saved.
dev_mode = True in
config.py, things work the other way around:
the board goes into "dev mode" by default, but will start in "normal mode" when the menu key is held during reset.
git clone https://git.s-ol.nu/hw/0x33.board/firmware.git
- automatically rename CPy drive s-ol 6 days ago
- detect dev_mode using storage.readonly (CPy 8) s-ol a month ago
- reorder menu s-ol a month ago
- add traditional piano layout s-ol a month ago
- add Jankó layout s-ol a month ago
- bottom-align value bar for settings s-ol a month ago
- menu.py cleanup s-ol 2 months ago
- move profile JSON files into subdirectory s-ol 2 months ago
- add .rw-test to gitignore s-ol 2 months ago
- handle profile setting separately s-ol 2 months ago