FastLED 3.9.15
Loading...
Searching...
No Matches
EaseInOut.h File Reference
#include <FastLED.h>
#include "fl/ease.h"
#include "fl/leds.h"
+ Include dependency graph for EaseInOut.h:

Go to the source code of this file.

Macros

#define BRIGHTNESS   255
 
#define COLOR_ORDER   GRB
 
#define DATA_PIN   3
 
#define LED_TYPE   WS2812B
 
#define MATRIX_HEIGHT   100
 
#define MATRIX_SERPENTINE   true
 
#define MATRIX_WIDTH   100
 
#define NUM_LEDS   (MATRIX_WIDTH * MATRIX_HEIGHT)
 

Functions

UIDescription description ("Use the xPosition slider to see the ease function curve. Use the Ease Type dropdown to select different easing functions. Use the 16-bit checkbox to toggle between 16-bit (checked) and 8-bit (unchecked) precision.")
 
UIDropdown easeTypeDropdown ("Ease Type", easeOptions)
 
EaseType getEaseType (int value)
 
void loop ()
 
void setup ()
 
UITitle title ("EaseInOut")
 
UICheckbox use16Bit ("16-bit", true)
 
UISlider xPosition ("xPosition", 0.0f, 0.0f, 1.0f, 0.01f)
 

Variables

fl::string easeOptions []
 
LedsXY< MATRIX_WIDTH, MATRIX_HEIGHTleds
 
XYMap xyMap = XYMap::constructSerpentine(MATRIX_WIDTH, MATRIX_HEIGHT)