Skip to content

mccollam/MacroPadLightsOut

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MacroPadLightsOut

A game of Lights Out on the Adafruit MacroPad

demo

To install:

Grab the CircuitPython libraries for your version of CircuitPython.

You'll need to put the following in the /lib folder on the MacroPad:

  • adafruit_display_text/
  • adafruit_hid/
  • adafruit_midi/
  • adafruit_debouncer.mpy
  • adafruit_macropad.mpy
  • adafruit_simple_text_display.mpy
  • neopixel.mpy

Copy code.py and patterns.py to the root folder on the MacroPad.

To play:

Use the rotary encoder to select a level.

Push a button to toggle the light on that button and on the buttons to the left, right, above, and below.

To win, turn all the lights off.

To reset the level, push the rotary encoder button.

To add new levels:

Add sets of lists to patterns.py. 1 is on, 0 is off.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages