FastLED 3.9.15
Loading...
Searching...
No Matches
DemoReel100.ino File Reference

Detailed Description

FastLED "100 lines of code" demo reel, showing off some effects.

Definition in file DemoReel100.ino.

#include <FastLED.h>
+ Include dependency graph for DemoReel100.ino:

Go to the source code of this file.

Macros

#define ARRAY_SIZE(A)
 
#define BRIGHTNESS   96
 
#define COLOR_ORDER   GRB
 
#define DATA_PIN   3
 
#define FRAMES_PER_SECOND   120
 
#define LED_TYPE   WS2811
 
#define NUM_LEDS   64
 

Typedefs

typedef void(* SimplePatternList[]) ()
 

Functions

void addGlitter (fract8 chanceOfGlitter)
 
void bpm ()
 
void confetti ()
 
void juggle ()
 
void loop ()
 
void nextPattern ()
 
void rainbow ()
 
void rainbowWithGlitter ()
 
void setup ()
 
void sinelon ()
 

Variables

uint8_t gCurrentPatternNumber = 0
 
uint8_t gHue = 0
 
SimplePatternList gPatterns = { rainbow, rainbowWithGlitter, confetti, sinelon, juggle, bpm }
 
CRGB leds [NUM_LEDS]