FastLED 3.9.7
Loading...
Searching...
No Matches
Fire2012.ino File Reference

Detailed Description

Simple one-dimensional fire animation.

Definition in file Fire2012.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 setup ()
 
void loop ()
 
void Fire2012 ()
 

Variables

bool gReverseDirection = false
 
CRGB leds [NUM_LEDS]
 

Macro Definition Documentation

◆ BRIGHTNESS

#define BRIGHTNESS   200

Definition at line 12 of file Fire2012.ino.

◆ CHIPSET

#define CHIPSET   WS2811

Definition at line 9 of file Fire2012.ino.

◆ COLOR_ORDER

#define COLOR_ORDER   GRB

Definition at line 8 of file Fire2012.ino.

◆ COOLING

#define COOLING   55

Definition at line 68 of file Fire2012.ino.

◆ FRAMES_PER_SECOND

#define FRAMES_PER_SECOND   60

Definition at line 13 of file Fire2012.ino.

◆ LED_PIN

#define LED_PIN   5

Definition at line 7 of file Fire2012.ino.

◆ NUM_LEDS

#define NUM_LEDS   30

Definition at line 10 of file Fire2012.ino.

◆ SPARKING

#define SPARKING   120

Definition at line 73 of file Fire2012.ino.

Function Documentation

◆ Fire2012()

void Fire2012 ( )

Definition at line 76 of file Fire2012.ino.

◆ loop()

void loop ( )

Definition at line 25 of file Fire2012.ino.

◆ setup()

void setup ( )

Definition at line 19 of file Fire2012.ino.

Variable Documentation

◆ gReverseDirection

bool gReverseDirection = false

Definition at line 15 of file Fire2012.ino.

◆ leds

CRGB leds[NUM_LEDS]

Definition at line 17 of file Fire2012.ino.