Skip to content

Instantly share code, notes, and snippets.

View ericjforman's full-sized avatar

Eric Forman ericjforman

View GitHub Profile
#include <FastLED.h>
// LED stuff
#define DATA_PIN 3
#define NUM_LEDS 30 // will be 500
#define MAX_POWER_MILLIAMPS 6000
#define LED_TYPE WS2812B
#define COLOR_ORDER GRB
CRGB leds[NUM_LEDS];