Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andypiper/ada-macropad
The configuration for my Adafruit Macropad RP2040
https://github.com/andypiper/ada-macropad
adafruit circuitpython hardware keypad macropad rp2040
Last synced: about 2 months ago
JSON representation
The configuration for my Adafruit Macropad RP2040
- Host: GitHub
- URL: https://github.com/andypiper/ada-macropad
- Owner: andypiper
- License: mit
- Created: 2022-01-14T21:13:55.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-21T21:32:39.000Z (7 months ago)
- Last Synced: 2024-10-24T07:35:00.976Z (about 2 months ago)
- Topics: adafruit, circuitpython, hardware, keypad, macropad, rp2040
- Language: Python
- Homepage: https://learn.adafruit.com/macropad-hotkeys/custom-configurations
- Size: 669 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-macropad - Evernote, Illustrator, Photoshop, Safari, Slack, Twitter, Zoom, and more
README
# Adafruit Macropad RP2040 - CircuitPython code
This repository contains the configurations I use with the [Adafruit Macropad RP2040](https://www.adafruit.com/product/5128) hardware keypad.
This is a set of modifications to the code from the [MACROPAD Hotkeys tutorial](https://learn.adafruit.com/macropad-hotkeys/) by [Phillip Burgess](https://learn.adafruit.com/users/pburgess). It is not a direct fork due to the way the Adafruit Learning System repository contains all of the modules as subdirectories.
![Macropad hardware](./doc/macropad1.jpg)
## Requirements
- [CircuitPython 9.x for Macropad RP2040](https://circuitpython.org/board/adafruit_macropad_rp2040/)
- currently running on *9.0.4*
- [CircuitPython libraries](https://circuitpython.org/libraries) (in a `/lib` folder on the `MACROPAD` 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
- neopixelA simple way to install the required CircuitPython dependencies to `/lib` is to [use circup](https://github.com/adafruit/circup) after `code.py` and the `/macros` folder have been copied to the mounted `MACROPAD` volume.
```shell
$ circup install --auto
```It's like living in the future!
[Read more about installing and using Circup](https://learn.adafruit.com/keep-your-circuitpython-libraries-on-devices-up-to-date-with-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