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

Detailed Description

Animate a white dot moving along a strip of LEDs.

Definition in file FirstLight.ino.

#include <FastLED.h>

Go to the source code of this file.

Macros

#define NUM_LEDS   60
 
#define DATA_PIN   3
 
#define CLOCK_PIN   13
 

Functions

void setup ()
 
void loop ()
 

Variables

CRGB leds [NUM_LEDS]
 

Macro Definition Documentation

◆ CLOCK_PIN

#define CLOCK_PIN   13

Definition at line 26 of file FirstLight.ino.

◆ DATA_PIN

#define DATA_PIN   3

Definition at line 25 of file FirstLight.ino.

◆ NUM_LEDS

#define NUM_LEDS   60

Definition at line 19 of file FirstLight.ino.

Function Documentation

◆ loop()

void loop ( )

Definition at line 81 of file FirstLight.ino.

◆ setup()

void setup ( )

Definition at line 32 of file FirstLight.ino.

Variable Documentation

◆ leds

CRGB leds[NUM_LEDS]

Definition at line 29 of file FirstLight.ino.