The source code for the Arduino lighting controller I used in my 2011 layout. In addition to this code, it requires the Metro timer library and the EZExpander library. Download the TGZ for the full package. Some of the files include:
- debug.h - enables/disables debug messages over the serial console.
- layout_lighting.ino - the main program.
- leds.h - maps individual bits to the LED they control.
- MelodyPlayer.cpp - Allows music to be played while the LEDs continue to blink.
- samples.h - list of christmas carols converted to be played by melodyplayer.cpp.