Skip to content

Instantly share code, notes, and snippets.

@tonious
tonious / gist:5522809
Created May 6, 2013 01:07 — forked from azend/gist:4665035
Azend's colour fader modified for a smooth progression using the power of trigonometry.
/* Diyode CodeShield Pinout Constants */
#define ENCODER_A 14
#define ENCODER_B 15
#define ENCODER_PORT PINC
#define SWITCH 13
#define BUTTON 12
#define RGB_RED 11
#define RGB_GREEN 10
#define RGB_BLUE 9
#define LED 6