This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <FastLED.h> | |
#define NUM_LEDS 60 | |
// how many frames per second you want your animation to be. Your total | |
// update rate will be ANIM_FPS * STEPS | |
#define ANIM_FPS 30 | |
// the number of steps you want between each frame - should be a power | |
// of 2 to keep things sane - e.g. 2,4,8,16,32,64 |
OlderNewer