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

Detailed Description

An animation that moves a single LED back and forth (Larson Scanner effect)

Definition in file Cylon.ino.

#include <FastLED.h>

Go to the source code of this file.

Macros

#define NUM_LEDS   64
 
#define DATA_PIN   2
 
#define CLOCK_PIN   13
 

Functions

void setup ()
 
void fadeall ()
 
void loop ()
 

Variables

CRGB leds [NUM_LEDS]
 

Macro Definition Documentation

◆ CLOCK_PIN

#define CLOCK_PIN   13

Definition at line 16 of file Cylon.ino.

◆ DATA_PIN

#define DATA_PIN   2

Definition at line 15 of file Cylon.ino.

◆ NUM_LEDS

#define NUM_LEDS   64

Definition at line 10 of file Cylon.ino.

Function Documentation

◆ fadeall()

void fadeall ( )

Definition at line 28 of file Cylon.ino.

◆ loop()

void loop ( )

Definition at line 30 of file Cylon.ino.

◆ setup()

void setup ( )

Definition at line 21 of file Cylon.ino.

Variable Documentation

◆ leds

CRGB leds[NUM_LEDS]

Definition at line 19 of file Cylon.ino.