Skip to content

Instantly share code, notes, and snippets.

@cloudwalking
Created April 22, 2015 06:30
Show Gist options
  • Save cloudwalking/e03dacd31df63449980d to your computer and use it in GitHub Desktop.
Save cloudwalking/e03dacd31df63449980d to your computer and use it in GitHub Desktop.
#include "FastLED.h"
CRGB leds[16];
void setup() { FastLED.addLeds<NEOPIXEL, 1>(leds, 16); }
void loop() {
static uint8_t hue = 0;
FastLED.showColor(CHSV(hue++, 255, 255));
delay(10);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment