Noiasca Tool Kit
Several helper functions and classes to make life with Arduino easier
Public Member Functions | List of all members
FlickerFastLED Class Reference

simulate a flickering light like a fire on a FastLED More...

#include <Noiasca_fastled.h>

Inheritance diagram for FlickerFastLED:
Flicker< Fastled_IF >

Public Member Functions

 FlickerFastLED (CFastLED &strip, uint16_t pixel, struct CRGB *leds)
 
- Public Member Functions inherited from Flicker< Fastled_IF >
 Flicker (Fastled_IF &obj)
 simulate a flickering light like a fire More...
 
void off () override
 switch off
 
void setMaxBrightness (uint8_t _maxBrightness)
 set the maximum brightness More...
 
void toggle ()
 switch between on or off state
 
void update (uint32_t currentMillis=millis())
 check if update is necessary More...
 

Detailed Description

simulate a flickering light like a fire on a FastLED

wrapper to flicker a FastLED. Inherits "style" class and composites FastLED

Constructor & Destructor Documentation

◆ FlickerFastLED()

FlickerFastLED::FlickerFastLED ( CFastLED &  strip,
uint16_t  pixel,
struct CRGB *  leds 
)
inline
Parameters
stripa reference to your strip object
pixelthe pixel on the strip to be used
*ledsa pointer to your leds array