FastLED 3.9.15
Loading...
Searching...
No Matches
simple.h File Reference
#include <Arduino.h>
#include <FastLED.h>
#include "fl/draw_visitor.h"
#include "fl/math_macros.h"
#include "fl/raster.h"
#include "fl/time_alpha.h"
#include "fl/ui.h"
#include "fl/xypath.h"
#include "fx/time.h"
#include "src/wave.h"
#include "src/xypaths.h"
#include "fl/function.h"
+ Include dependency graph for simple.h:

Go to the source code of this file.

Macros

#define HEIGHT   64
 
#define IS_SERPINTINE   true
 
#define NUM_LEDS   ((WIDTH) * (HEIGHT))
 
#define TIME_ANIMATION   1000
 
#define WIDTH   64
 

Functions

UIButton button ("second trigger")
 
UIDescription description ("This is more of a test for new features.")
 
void loop ()
 
UISlider pointX ("Point X", WIDTH/2.0f, 0.0f, WIDTH - 1, 1.0f)
 
UISlider pointY ("Point Y", HEIGHT/2.0f, 0.0f, HEIGHT - 1, 1.0f)
 
void setup ()
 
UITitle title ("Simple control of an xy path")
 
XYMap xyMap (WIDTH, HEIGHT, IS_SERPINTINE)
 

Variables

CRGB leds [NUM_LEDS]
 
bool triggered = false
 
int x = 0
 
int y = 0