Skip to content

Instantly share code, notes, and snippets.

View insidenothing's full-sized avatar
💭
in the clouds

Patrick McGuire insidenothing

💭
in the clouds
View GitHub Profile
@insidenothing
insidenothing / rgb_spectrum.c
Created September 29, 2015 01:00 — forked from jimsynz/rgb_spectrum.c
Arduino sketch to cycle an RGB LED through the colour spectrum.
const int redPin = 11;
const int greenPin = 10;
const int bluePin = 9;
void setup() {
// Start off with the LED off.
setColourRgb(0,0,0);
}
void loop() {