Skip to content

Instantly share code, notes, and snippets.

@focalintent
focalintent / Lighting up one by one
Last active June 4, 2016 10:32
Lighting up one by one
#include "FastLED.h"
#include <SPI.h>
#define NumPixels 1500 // number of LEDs in strip - count starts at 0, not 1
#define Datapin 11 // datapin - green on apa102
#define Clockpin 13 // clockpin - blue on apa102
#define DataRate_Mhz 15
CRGB leds[NumPixels];
int g, r, b, z;
int head=-1, tail=(head-6);
#ifndef FASTDELEGATE_H
#define FASTDELEGATE_H
#include <cstring>
#include <type_traits>
#include <cassert>
#include <cstddef>
#include <memory>
#include <new>
#include <utility>