Skip to content

FrameworkComputer/Framework_Inputmodule_CircuitPython

Repository files navigation

CircuitPython Scripts for Framework 16 Input Modules

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.

Preparation

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

Support

  • Any Module
    • Jump to bootloader: bootloader_jump.py
    • Read sleep pin
  • White Backlight Keyboard
    • Control Backlight
    • Control Capslock LED
    • Example: white_keyboard_blink.py
  • RGB Keyboard
    • Control RGB Backlight: ansi_keyboard_backlight.py
    • Keyscan
  • RGB Macropad
    • Control RGB Backlight: macropad_backlight.py
    • Scan keys: macropad_keyscan.py
  • White Backlight Numpad
    • Scan keys and backlight
    • Backlight control
    • Example: numpad_keyscan.py
  • LED Matrix
    • Control LED Matrix
    • Example: led_matrix.py

About

CircuitPython Scripts for Framework 16 Input Modules

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages