FastLED 3.9.3
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 "fx/1d/demoreel100.hpp"

Go to the source code of this file.

Macros

#define DATA_PIN   3
 
#define LED_TYPE   WS2811
 
#define COLOR_ORDER   GRB
 
#define NUM_LEDS   64
 
#define BRIGHTNESS   96
 
#define FRAMES_PER_SECOND   120
 

Functions

void setup ()
 
void loop ()
 

Variables

CRGB leds [NUM_LEDS]
 
DemoReel100Ref demoReel = DemoReel100Ref::New(NUM_LEDS)
 

Macro Definition Documentation

◆ BRIGHTNESS

#define BRIGHTNESS   96

Definition at line 15 of file DemoReel100.ino.

◆ COLOR_ORDER

#define COLOR_ORDER   GRB

Definition at line 11 of file DemoReel100.ino.

◆ DATA_PIN

#define DATA_PIN   3

Definition at line 8 of file DemoReel100.ino.

◆ FRAMES_PER_SECOND

#define FRAMES_PER_SECOND   120

Definition at line 16 of file DemoReel100.ino.

◆ LED_TYPE

#define LED_TYPE   WS2811

Definition at line 10 of file DemoReel100.ino.

◆ NUM_LEDS

#define NUM_LEDS   64

Definition at line 12 of file DemoReel100.ino.

Function Documentation

◆ loop()

void loop ( )

Definition at line 34 of file DemoReel100.ino.

◆ setup()

void setup ( )

Definition at line 20 of file DemoReel100.ino.

Variable Documentation

◆ demoReel

DemoReel100Ref demoReel = DemoReel100Ref::New(NUM_LEDS)

Definition at line 18 of file DemoReel100.ino.

◆ leds

CRGB leds[NUM_LEDS]

Definition at line 13 of file DemoReel100.ino.