FastLED 3.9.3
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.hpp"
#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 12 of file Overclock.ino.

◆ COLOR_ORDER

#define COLOR_ORDER   GRB

Definition at line 14 of file Overclock.ino.

◆ FASTLED_W2812_OVERCLOCK

#define FASTLED_W2812_OVERCLOCK   1.1

Definition at line 5 of file Overclock.ino.

◆ GRID_SERPENTINE

#define GRID_SERPENTINE   1

Definition at line 18 of file Overclock.ino.

◆ LED_PIN

#define LED_PIN   3

Definition at line 11 of file Overclock.ino.

◆ LED_TYPE

#define LED_TYPE   WS2811

Definition at line 13 of file Overclock.ino.

◆ MATRIX_HEIGHT

#define MATRIX_HEIGHT   22

Definition at line 17 of file Overclock.ino.

◆ MATRIX_WIDTH

#define MATRIX_WIDTH   22

Definition at line 16 of file Overclock.ino.

◆ NUM_LEDS

#define NUM_LEDS   (MATRIX_WIDTH * MATRIX_HEIGHT)

Definition at line 20 of file Overclock.ino.

◆ SCALE

#define SCALE   20

Definition at line 51 of file Overclock.ino.

◆ SPEED

#define SPEED   30

Definition at line 57 of file Overclock.ino.

Function Documentation

◆ loop()

void loop ( )

Definition at line 73 of file Overclock.ino.

◆ setup()

void setup ( )

Definition at line 64 of file Overclock.ino.

Variable Documentation

◆ leds

CRGB leds[NUM_LEDS]

Definition at line 59 of file Overclock.ino.