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

Detailed Description

Demonstrates how to overclock a FastLED setup.

Definition in file Overclock.ino.

#include "fx/2d/noisepalette.h"
#include "fx/fx.h"
#include <FastLED.h>

Go to the source code of this file.

Macros

#define FASTLED_W2812_OVERCLOCK   1.1
 
#define LED_PIN   3
 
#define BRIGHTNESS   96
 
#define LED_TYPE   WS2811
 
#define COLOR_ORDER   GRB
 
#define MATRIX_WIDTH   22
 
#define MATRIX_HEIGHT   22
 
#define GRID_SERPENTINE   1
 
#define NUM_LEDS   (MATRIX_WIDTH * MATRIX_HEIGHT)
 
#define SCALE   20
 
#define SPEED   30
 

Functions

void setup ()
 
void loop ()
 

Variables

CRGB leds [NUM_LEDS]
 
XYMap xyMap (MATRIX_WIDTH, MATRIX_HEIGHT, GRID_SERPENTINE)
 
NoisePalette noisePalette (xyMap)
 

Macro Definition Documentation

◆ BRIGHTNESS

#define BRIGHTNESS   96

Definition at line 24 of file Overclock.ino.

◆ COLOR_ORDER

#define COLOR_ORDER   GRB

Definition at line 26 of file Overclock.ino.

◆ FASTLED_W2812_OVERCLOCK

#define FASTLED_W2812_OVERCLOCK   1.1

Definition at line 15 of file Overclock.ino.

◆ GRID_SERPENTINE

#define GRID_SERPENTINE   1

Definition at line 30 of file Overclock.ino.

◆ LED_PIN

#define LED_PIN   3

Definition at line 23 of file Overclock.ino.

◆ LED_TYPE

#define LED_TYPE   WS2811

Definition at line 25 of file Overclock.ino.

◆ MATRIX_HEIGHT

#define MATRIX_HEIGHT   22

Definition at line 29 of file Overclock.ino.

◆ MATRIX_WIDTH

#define MATRIX_WIDTH   22

Definition at line 28 of file Overclock.ino.

◆ NUM_LEDS

#define NUM_LEDS   (MATRIX_WIDTH * MATRIX_HEIGHT)

Definition at line 32 of file Overclock.ino.

◆ SCALE

#define SCALE   20

Definition at line 63 of file Overclock.ino.

◆ SPEED

#define SPEED   30

Definition at line 69 of file Overclock.ino.

Function Documentation

◆ loop()

void loop ( )

Definition at line 85 of file Overclock.ino.

◆ setup()

void setup ( )

Definition at line 76 of file Overclock.ino.

Variable Documentation

◆ leds

CRGB leds[NUM_LEDS]

Definition at line 71 of file Overclock.ino.