Skip to content

M-Eldin/Adafruit-MacroPad-RP2040-Sleep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

adafruit_products_MacroPad_boot_reset

About

Sleep Functionality for Adafruit MacroPad RP2040

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages