R. Steve McKown [Sun, 4 Dec 2011 22:57:55 +0000 (15:57 -0700)]
Closer to a full featured setup
Rocker switch is power switch.
* Off: lamp is off, PWM off, CPU in sleep
* On (right): Random time to fade between colors, with a random time
staying in each color.
* Off (left): No fade between colors, with a random time in each color.
The push button speeds up fade and incolor times by a factor of 8.
R. Steve McKown [Wed, 30 Nov 2011 23:49:33 +0000 (16:49 -0700)]
Alter PWM in small increments
* Use unsigned char, as unsigned short is a 16-bit value
* Increment and decrement PWM value by 1 instead of 16
* Alternate fixed LED state based on increasing/decreasing PWM duty
* Ignore /funclist file