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

Detailed Description

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
 

Macro Definition Documentation

◆ COLOR_ORDER

#define COLOR_ORDER   GRB

Definition at line 20 of file Pacifica.ino.

◆ DATA_PIN

#define DATA_PIN   3

Definition at line 16 of file Pacifica.ino.

◆ FASTLED_ALLOW_INTERRUPTS

#define FASTLED_ALLOW_INTERRUPTS   0

Definition at line 12 of file Pacifica.ino.

◆ LED_TYPE

#define LED_TYPE   WS2812B

Definition at line 19 of file Pacifica.ino.

◆ MAX_POWER_MILLIAMPS

#define MAX_POWER_MILLIAMPS   500

Definition at line 18 of file Pacifica.ino.

◆ NUM_LEDS

#define NUM_LEDS   60

Definition at line 17 of file Pacifica.ino.

Function Documentation

◆ loop()

void loop ( )

Definition at line 33 of file Pacifica.ino.

◆ pacifica_add_whitecaps()

void pacifica_add_whitecaps ( )

Definition at line 131 of file Pacifica.ino.

◆ pacifica_deepen_colors()

void pacifica_deepen_colors ( )

Definition at line 149 of file Pacifica.ino.

◆ pacifica_loop()

void pacifica_loop ( )

Definition at line 77 of file Pacifica.ino.

◆ pacifica_one_layer()

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.

◆ setup()

void setup ( )

Definition at line 26 of file Pacifica.ino.

Variable Documentation

◆ leds

CRGB leds[NUM_LEDS]

Definition at line 24 of file Pacifica.ino.

◆ pacifica_palette_1

CRGBPalette16 pacifica_palette_1
Initial value:
=
{ 0x000507, 0x000409, 0x00030B, 0x00030D, 0x000210, 0x000212, 0x000114, 0x000117,
0x000019, 0x00001C, 0x000026, 0x000031, 0x00003B, 0x000046, 0x14554B, 0x28AA50 }

Definition at line 66 of file Pacifica.ino.

◆ pacifica_palette_2

CRGBPalette16 pacifica_palette_2
Initial value:
=
{ 0x000507, 0x000409, 0x00030B, 0x00030D, 0x000210, 0x000212, 0x000114, 0x000117,
0x000019, 0x00001C, 0x000026, 0x000031, 0x00003B, 0x000046, 0x0C5F52, 0x19BE5F }

Definition at line 69 of file Pacifica.ino.

◆ pacifica_palette_3

CRGBPalette16 pacifica_palette_3
Initial value:
=
{ 0x000208, 0x00030E, 0x000514, 0x00061A, 0x000820, 0x000927, 0x000B2D, 0x000C33,
0x000E39, 0x001040, 0x001450, 0x001860, 0x001C70, 0x002080, 0x1040BF, 0x2060FF }

Definition at line 72 of file Pacifica.ino.