FastLED 3.9.7
|
Simple one-dimensional fire animation with a programmable color palette.
Definition in file Fire2012WithPalette.ino.
#include <FastLED.h>
Go to the source code of this file.
Macros | |
#define | LED_PIN 5 |
#define | COLOR_ORDER GRB |
#define | CHIPSET WS2811 |
#define | NUM_LEDS 30 |
#define | BRIGHTNESS 200 |
#define | FRAMES_PER_SECOND 60 |
#define | COOLING 55 |
#define | SPARKING 120 |
Functions | |
void | Fire2012WithPalette () |
void | setup () |
void | loop () |
Variables | |
bool | gReverseDirection = false |
CRGB | leds [NUM_LEDS] |
CRGBPalette16 | gPal |
#define BRIGHTNESS 200 |
Definition at line 12 of file Fire2012WithPalette.ino.
#define CHIPSET WS2811 |
Definition at line 9 of file Fire2012WithPalette.ino.
#define COLOR_ORDER GRB |
Definition at line 8 of file Fire2012WithPalette.ino.
#define COOLING 55 |
Definition at line 52 of file Fire2012WithPalette.ino.
#define FRAMES_PER_SECOND 60 |
Definition at line 13 of file Fire2012WithPalette.ino.
#define LED_PIN 5 |
Definition at line 7 of file Fire2012WithPalette.ino.
#define NUM_LEDS 30 |
Definition at line 10 of file Fire2012WithPalette.ino.
#define SPARKING 120 |
Definition at line 57 of file Fire2012WithPalette.ino.
void Fire2012WithPalette | ( | ) |
Definition at line 60 of file Fire2012WithPalette.ino.
void loop | ( | ) |
Definition at line 145 of file Fire2012WithPalette.ino.
void setup | ( | ) |
Definition at line 124 of file Fire2012WithPalette.ino.
CRGBPalette16 gPal |
Definition at line 19 of file Fire2012WithPalette.ino.
bool gReverseDirection = false |
Definition at line 15 of file Fire2012WithPalette.ino.
CRGB leds[NUM_LEDS] |
Definition at line 17 of file Fire2012WithPalette.ino.