And here it is working. I might sort it out it saves the current colour to the EEPROM so that it restores it when the power comes on. Or just make it so the lights are off if the power comes back on.
The ones we have now turn back on when the power goes out, even if it was off. Which is silly. If there's a power cut while we're out the lights will turn back on when it comes back.
Red and green frequency is 31kHz, blue is 62kHz.
EDITED: 1 Feb 2015 20:01 by CHRISSS