Awesome
Adafruit Macropad RP2040 - CircuitPython code
This repository contains the configurations I use with the Adafruit Macropad RP2040 hardware keypad.
This is a set of modifications to the code from the MACROPAD Hotkeys tutorial by Phillip Burgess. It is not a direct fork due to the way the Adafruit Learning System repository contains all of the modules as subdirectories.
Requirements
- CircuitPython 9.x for Macropad RP2040
- currently running on 9.0.4
- CircuitPython libraries (in a
/lib
folder on theMACROPAD
volume) - see below for a quick way to install these without downloading the whole bundle:- adafruit_display_shapes
- adafruit_display_text
- adafruit_hid
- adafruit_midi
- adafruit_debouncer
- adafruit_macropad
- adafruit_pixelbuf
- adafruit_simple_text_display
- neopixel
A simple way to install the required CircuitPython dependencies to /lib
is to use circup after code.py
and the /macros
folder have been copied to the mounted MACROPAD
volume.
$ circup install --auto
It's like living in the future!
Read more about installing and using Circup.
Configuration
The contents of this repository are macros to work with applications running on macOS. If you don't use a Mac, you will almost certainly need to replace references to Keycode.COMMAND
with a platform-specific alternative (probably Keycode.CONTROL
, YMMV).
Changelog
- 2024-05-21: Updated to CircuitPython 9.x
- cleaned up for latest CP libraries
- added requirements / circup instructions
- reduced brightness of NeoPixels
- removed unused macros