FastLED 3.9.15
Loading...
Searching...
No Matches
old.h File Reference
#include "fl/assert.h"
#include "fl/screenmap.h"
#include "fl/warn.h"
#include "noise.h"
#include <FastLED.h>
+ Include dependency graph for old.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  corkscrew_args
 

Macros

#define MAX_AMPS   1
 
#define NUM_LEDS   288
 
#define PIN_BUTTON   1
 
#define PIN_CLOCK   7
 
#define PIN_DATA   9
 
#define PIN_GRND   2
 
#define VOLTS   5
 

Functions

CLEDControlleraddController ()
 
UIButton button ("Button")
 
UIDescription festivalStickDescription ("Take a wooden walking stick, wrap dense LEDs around it like a corkscrew. Super simple but very awesome looking." "This assumes the dense 144 LEDs / meter.")
 
UITitle festivalStickTitle ("Festival Stick")
 
UISlider ledsScale ("Leds scale", 0.1f, 0.1f, 1.0f, 0.01f)
 
void loop ()
 
fl::vector< vec3fmakeCorkScrew (corkscrew_args args=corkscrew_args())
 
fl::ScreenMap makeScreenMap (corkscrew_args args=corkscrew_args())
 
void setup ()
 
void showGenerative (uint32_t now)
 

Variables

corkscrew_args args = corkscrew_args()
 
CRGB leds [NUM_LEDS]
 
fl::vector< vec3fmapCorkScrew = makeCorkScrew(args)
 
fl::ScreenMap screenMap
 

Class Documentation

◆ corkscrew_args

struct corkscrew_args
Class Members
float leds_per_turn = 15.5
int num_leds = NUM_LEDS
float width_cm = 1.0