FastLED 3.9.7
|
Gentle, blue-green ocean wave animation.
Definition in file Pacifica.ino.
#include <FastLED.h>
Go to the source code of this file.
Macros | |
#define | FASTLED_ALLOW_INTERRUPTS 0 |
#define | DATA_PIN 3 |
#define | NUM_LEDS 60 |
#define | MAX_POWER_MILLIAMPS 500 |
#define | LED_TYPE WS2812B |
#define | COLOR_ORDER GRB |
Functions | |
void | setup () |
void | loop () |
void | pacifica_loop () |
void | pacifica_one_layer (CRGBPalette16 &p, uint16_t cistart, uint16_t wavescale, uint8_t bri, uint16_t ioff) |
void | pacifica_add_whitecaps () |
void | pacifica_deepen_colors () |
Variables | |
CRGB | leds [NUM_LEDS] |
CRGBPalette16 | pacifica_palette_1 |
CRGBPalette16 | pacifica_palette_2 |
CRGBPalette16 | pacifica_palette_3 |
#define COLOR_ORDER GRB |
Definition at line 20 of file Pacifica.ino.
#define DATA_PIN 3 |
Definition at line 16 of file Pacifica.ino.
#define FASTLED_ALLOW_INTERRUPTS 0 |
Definition at line 12 of file Pacifica.ino.
#define LED_TYPE WS2812B |
Definition at line 19 of file Pacifica.ino.
#define MAX_POWER_MILLIAMPS 500 |
Definition at line 18 of file Pacifica.ino.
#define NUM_LEDS 60 |
Definition at line 17 of file Pacifica.ino.
void loop | ( | ) |
Definition at line 33 of file Pacifica.ino.
void pacifica_add_whitecaps | ( | ) |
Definition at line 131 of file Pacifica.ino.
void pacifica_deepen_colors | ( | ) |
Definition at line 149 of file Pacifica.ino.
void pacifica_loop | ( | ) |
Definition at line 77 of file Pacifica.ino.
void pacifica_one_layer | ( | CRGBPalette16 & | p, |
uint16_t | cistart, | ||
uint16_t | wavescale, | ||
uint8_t | bri, | ||
uint16_t | ioff ) |
Definition at line 113 of file Pacifica.ino.
void setup | ( | ) |
Definition at line 26 of file Pacifica.ino.
CRGB leds[NUM_LEDS] |
Definition at line 24 of file Pacifica.ino.
CRGBPalette16 pacifica_palette_1 |
Definition at line 66 of file Pacifica.ino.
CRGBPalette16 pacifica_palette_2 |
Definition at line 69 of file Pacifica.ino.
CRGBPalette16 pacifica_palette_3 |
Definition at line 72 of file Pacifica.ino.