This is a macropad firmware for Raspberry Pi Pico RP2040 written in Circuitpython. This firmware support up to 8 rotary encoders, 20 buttons, and a TFT display. Or you can just adjust it like however you like.
- 6 Rotary encoders.
- 240*240 TFT Display to display information and image or gif. *RP2040 will struggle to play gif btw
- deej rotary encoder support.
You can adjust this build to fil what you need
- Raspberry Pi Pico
- 2 Expansion Board PCF8574
- 6 EC11 Rotary encoders
- 20 button switches
- ST7789 TFT Display
- Prefboard
- Wires
- Install Circuitpython v9 to your Pi Pico
- Download or clone this repository
- Move all files inside lib/lib-circuitpython-v9 to your Pi Pico lib folder
- Copy these file from this repository to your Pi Pico:
- config.py
- code.py
- If you want use custom font, you
- This is what your Pi Pico directory should look like:
│ boot_out.txt
│ code.py
│ config.py
├───lib
│ │ adafruit_pcf8574.mpy
│ │ adafruit_pioasm.mpy
│ │ adafruit_st7789.mpy
│ │ deej.py
│ │ digitalio.mpy
│ │ rotaryio.mpy
│ │ rp2pio_dualincrementalencoder.mpy
│ │ macropad.mpy
│ │ display.mpy
│
├───media
├───fonts
- config.py is to assign your microcontroller pins.
- code.py is to assign your buttons and encoders actions.
Update later...
