Added initial version of the CircleClock code, uses a 42 LED strip on which seconds and minutes are crudely counted
CircleClock: Removed harsh blinking per second with a more gentle pulsing. Added brightness control to the color creation as well. Increased animation speed for HypnoDisc.
Do maths once per iteration instead of each check
Rewrote code to be significantly cleaner, separated the brightness adjustment out to a separate function from the colorWheel. Both hour and minute sections of the strip are now written and updated. Replaced defines with proper constants.
Updated CircleClock with time set and adjustment functions. Clock rings are smoothly animated (at same radial velocity) when the time is adjusted.
Brightness setting now functional for all color uses and fixed the colors going around the clock with the different LPD8806 wiring.
Implemented basic gonging for the hours that are passed on the clock. Place the debugging serial prints behind a define.
Added dynamic brightness adjustments. Fixed bug where the relative brightness for the blinking minute hand and glowing hour hand were applied twice, resulting in max 25% brightness for hands when the clock was set to 50% brightness. Expanded and slowed gong animation slightly and introduced new constants to control timing of various elements.
Split out the various actions that happen on fractions, whole seconds, minutes and hours.
Updated CircleClock to work with a separate rgbdata_t struct for easier manipulation of color brightness before sending it out to the LPD library to place it on the LED-strip.
Added the lpdColor function to write correct color codes to the LPD8806 strip. Removed strip.setPixelColor function calls in favor of this new function. Added new (untested) functionality that blends the first and last gong on the hour ring and blends the color for the first minute gong.
Quickly fade away the minute ring instead of blending it with the color to 'gong'. This to avoid missing the gong in the hours (colors) nearing midnight.