Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 2.3 KB

README.md

File metadata and controls

43 lines (28 loc) · 2.3 KB

MacropadPyDemo

This project is a CircuitPython rewrite of the Arduino demo (video) that comes packaged with the Adafruit Macropad RP2040.

Video of the demo running on the Macropad RP2040

This project is intended for educational purposes. Feel free to make use of this project pursuant to the license.

Installation Instructions

If you haven't already, you'll need to follow these instructions in order to run this project on your Macropad RP2040--this will allow your Macropad RP2040 to run CircuitPython code.

Required Resources

The following are external resources you will need to download and put on your Macropad RP2040 to get this project to run properly.

Libraries

Here are the necessary libraries. You can find these on CircuitPython's website. Simply download the bundle for the version of CircuitPython your Macropad RP2040 is running and copy the following directories and files into the lib/ directory of the device.

  • adafruit_bitmap_font/
  • adafruit_ble/services/standard/hid.mpy
  • adafruit_bus_device/
  • adafruit_display_text/
  • adafruit_hid/
  • adafruit_midi/
  • adafruit_debouncer.mpy
  • adafruit_macropad.mpy
  • adafruit_simple_text_display.mpy
  • adafruit_ticks.mpy
  • neopixel.mpy

This project was created using CircuitPython 8, but may be compatible with other versions.

Fonts

The default CircuitPython font is too large for this project. Download this font file from this incredible selection of fonts from olikraus and place it in a new directory you create called "fonts" at the root directory of the device (i.e. CIRCUITPY/fonts/).

Code

Once you have the libraries and font loaded, copy/paste main.py to the root directory of the device. If you've done everything correctly, the device should automatically reload and boot into the program.