FastLED 3.9.3
Loading...
Searching...
No Matches
ColorTemperature.ino File Reference

Detailed Description

Demonstrates how to use ColorTemperature based color correction.

Definition in file ColorTemperature.ino.

#include <FastLED.h>

Go to the source code of this file.

Macros

#define LED_PIN   3
 
#define NUM_LEDS   60
 
#define CHIPSET   WS2811
 
#define COLOR_ORDER   GRB
 
#define BRIGHTNESS   128
 
#define TEMPERATURE_1   Tungsten100W
 
#define TEMPERATURE_2   OvercastSky
 
#define DISPLAYTIME   20
 
#define BLACKTIME   3
 

Functions

void loop ()
 
void setup ()
 

Variables

CRGB leds [NUM_LEDS]
 

Macro Definition Documentation

◆ BLACKTIME

#define BLACKTIME   3

Definition at line 54 of file ColorTemperature.ino.

◆ BRIGHTNESS

#define BRIGHTNESS   128

Definition at line 15 of file ColorTemperature.ino.

◆ CHIPSET

#define CHIPSET   WS2811

Definition at line 11 of file ColorTemperature.ino.

◆ COLOR_ORDER

#define COLOR_ORDER   GRB

Definition at line 12 of file ColorTemperature.ino.

◆ DISPLAYTIME

#define DISPLAYTIME   20

Definition at line 52 of file ColorTemperature.ino.

◆ LED_PIN

#define LED_PIN   3

Definition at line 7 of file ColorTemperature.ino.

◆ NUM_LEDS

#define NUM_LEDS   60

Definition at line 10 of file ColorTemperature.ino.

◆ TEMPERATURE_1

#define TEMPERATURE_1   Tungsten100W

Definition at line 48 of file ColorTemperature.ino.

◆ TEMPERATURE_2

#define TEMPERATURE_2   OvercastSky

Definition at line 49 of file ColorTemperature.ino.

Function Documentation

◆ loop()

void loop ( )

Definition at line 56 of file ColorTemperature.ino.

◆ setup()

void setup ( )

Definition at line 82 of file ColorTemperature.ino.

Variable Documentation

◆ leds

CRGB leds[NUM_LEDS]

Definition at line 13 of file ColorTemperature.ino.