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) using the fx library cylon.

Definition in file Cylon.ino.

#include <FastLED.h>
#include "fx/1d/cylon.hpp"

Go to the source code of this file.

Macros

#define NUM_LEDS   64
 
#define DATA_PIN   2
 

Functions

void setup ()
 
void loop ()
 

Variables

CRGB leds [NUM_LEDS]
 
Cylon cylon (NUM_LEDS)
 

Macro Definition Documentation

◆ DATA_PIN

#define DATA_PIN   2

Definition at line 16 of file Cylon.ino.

◆ NUM_LEDS

#define NUM_LEDS   64

Definition at line 11 of file Cylon.ino.

Function Documentation

◆ loop()

void loop ( )

Definition at line 29 of file Cylon.ino.

◆ setup()

void setup ( )

Definition at line 24 of file Cylon.ino.

Variable Documentation

◆ leds

CRGB leds[NUM_LEDS]

Definition at line 19 of file Cylon.ino.