This repository contains CircuitPython code for macropad
In your CIRCUITPY drive:
- Add these dependencies to the
libfolder:adafruit_hidfrom CircuitPython bundle.
- Copy
pico_macropadto the root of the drive. - Create
main.pyand write your code there. Example can be found in this repo. - Optionally create
boot.py. Example that disables usb drive and serial communication if first button in first row is not pressed on boot can be found in this repo. Be careful as that can potentially lock you out from accessing your microcontroller if pins are not configured correctly (here are flash reset instructions just in case).
I used matrix keyboard with diodes. Instructions from Adafruit can be found here.
STL files for printing can be found here.