mood lamp - part 4 - the code

As promised, here comes the code, along with the Fritzing file as a schematic view of the whole thing.



Hit the jump for the downloads. No wall of text his time.

mood lamp - part 3 - schematics

Ready to get to the real stuff? In comes the schematics!

All these have been done with Fritzing, a circuit design tool for Arduino users and beginners in general.
While it is still in alpha phase and therefore has quite a few annoying bugs, it is definitely usable and easy to use.

Anyway, here is the breadboard view of the design: