FastLED 3.9.15
Loading...
Searching...
No Matches
Wave.ino File Reference
#include "fl/math_macros.h"
#include "fl/ui.h"
#include "fl/wave_simulation.h"
#include <Arduino.h>
#include <FastLED.h>
+ Include dependency graph for Wave.ino:

Go to the source code of this file.

Macros

#define IS_SERPINTINE   true
 
#define NUM_LEDS   100
 

Functions

SuperSample getSuperSample ()
 
void loop ()
 
void setup ()
 
void triggerRipple (WaveSimulation1D &waveSim, int x)
 

Variables

UIButton button ("Trigger")
 
UISlider dampening ("Dampening", 6.0f, 0.0f, 10.0f, 0.1f)
 
UIDescription description ("Shows the use of the Wave1D effect.")
 
UISlider extraFrames ("Extra Frames", 1.0f, 0.0f, 8.0f, 1.0f)
 
UICheckbox halfDuplex ("Half Duplex", false)
 
CRGB leds [NUM_LEDS]
 
UISlider slider ("Speed", 0.18f, 0.0f, 1.0f)
 
UISlider superSample ("SuperSampleExponent", 0.f, 0.f, 3.f, 1.f)
 
UITitle title ("Wave Demo")
 
WaveSimulation1D waveSim (NUM_LEDS, SuperSample::SUPER_SAMPLE_2X)