This is not the official firmware for the Framework 16 Input Modules. But we want to make it as easy as possible to hack on the modules. As an alternative firmware for playing around, you can use circuitpython to easily write some scripts and run them in the firmware.
Going back to official firmware is as easy as triggering the bootloader mode and copying the official UF2 files on the RP2 drive.
Not supported in upstream CircuitPython yet. Clone from the pull request.
Follow the official build guide. Once your environment is set up you can compile with:
cd ports/raspberrypi
make BOARD=framework_inputmodule
# Use firmware at build-framework_inputmodule/firmware.uf2
Flash the firmware once and you're good to go.
To go back to Framework official firmware
- Any Module
- Jump to bootloader:
bootloader_jump.py
- Read sleep pin
- Jump to bootloader:
- White Backlight Keyboard
- Control Backlight
- Control Capslock LED
- Example:
white_keyboard_blink.py
- RGB Keyboard
- Control RGB Backlight:
ansi_keyboard_backlight.py
- Keyscan
- Control RGB Backlight:
- RGB Macropad
- Control RGB Backlight:
macropad_backlight.py
- Scan keys:
macropad_keyscan.py
- Control RGB Backlight:
- White Backlight Numpad
- Scan keys and backlight
- Backlight control
- Example:
numpad_keyscan.py
- LED Matrix
- Control LED Matrix
- Example:
led_matrix.py