FastLED 3.9.15
Loading...
Searching...
No Matches
curr.h File Reference
#include "fl/assert.h"
#include "fl/corkscrew.h"
#include "fl/screenmap.h"
#include "fl/warn.h"
#include "fl/sstream.h"
#include "fl/leds.h"
#include "noise.h"
#include <FastLED.h>
+ Include dependency graph for curr.h:

Go to the source code of this file.

Classes

struct  corkscrew_args
 

Macros

#define CORKSCREW_HEIGHT   19
 
#define CORKSCREW_TOTAL_HEIGHT    23.25f
 
#define CORKSCREW_TURNS   19
 
#define CORKSCREW_WIDTH   16
 
#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")
 
Corkscrew corkscrew (corkscrewInput)
 
Corkscrew::Input corkscrewInput (CORKSCREW_TOTAL_HEIGHT, CORKSCREW_TURNS *2.0f *PI, 0, NUM_LEDS,)
 
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::ScreenMap makeScreenMap (corkscrew_args args=corkscrew_args())
 
void printOutput (const Corkscrew::Output &output)
 
void setup ()
 

Variables

LedsXY< CORKSCREW_WIDTH, CORKSCREW_HEIGHTframeBuffer
 
CRGB leds [NUM_LEDS]
 
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