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

Detailed Description

Demonstrates how to use multiple LED strips, each with their own data in one shared array.

Definition in file MultipleStripsInOneArray.ino.

#include <FastLED.h>

Go to the source code of this file.

Macros

#define NUM_STRIPS   3
 
#define NUM_LEDS_PER_STRIP   60
 
#define NUM_LEDS   NUM_LEDS_PER_STRIP * NUM_STRIPS
 

Functions

void setup ()
 
void loop ()
 

Variables

CRGB leds [NUM_STRIPS *NUM_LEDS_PER_STRIP]
 

Macro Definition Documentation

◆ NUM_LEDS

#define NUM_LEDS   NUM_LEDS_PER_STRIP * NUM_STRIPS

Definition at line 13 of file MultipleStripsInOneArray.ino.

◆ NUM_LEDS_PER_STRIP

#define NUM_LEDS_PER_STRIP   60

Definition at line 12 of file MultipleStripsInOneArray.ino.

◆ NUM_STRIPS

#define NUM_STRIPS   3

Definition at line 11 of file MultipleStripsInOneArray.ino.

Function Documentation

◆ loop()

void loop ( )

Definition at line 31 of file MultipleStripsInOneArray.ino.

◆ setup()

void setup ( )

Definition at line 19 of file MultipleStripsInOneArray.ino.

Variable Documentation

◆ leds

CRGB leds[NUM_STRIPS *NUM_LEDS_PER_STRIP]

Definition at line 15 of file MultipleStripsInOneArray.ino.