Awesome
Adafruit-MacroPad-RP2040
Sleep Functionality for Adafruit MacroPad RP2040
Details
This is a modification of AdaFruit project bundle found here
specifically changes to
- code.py file
- addition of
adafruit_displayio_sh1107_wrapper.py
to lib - addition of
autoscreen.py
to lib
Setting Time to Sleep
in code.py
# MAIN LOOP ----------------------------
autoscreen = AutoOffScreen(60 * 5)
after 5 minutes of inactivey, MacroPad enters sleep
Troubleshooting
After copying over files, Macropad updates but screen turns off and does not "wake"
- Press Reset button after adding files to CIRCUITPY directory