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

Imitiate fluorescent lamp with a FastLED. More...

#include <Noiasca_fastled.h>

Inheritance diagram for FluorescentFastLED:
Fluorescent< Fastled_IF >

Public Member Functions

 FluorescentFastLED (CFastLED &strip, uint16_t pixel, struct CRGB *leds)
 
- Public Member Functions inherited from Fluorescent< Fastled_IF >
 Fluorescent (Fastled_IF &obj)
 simulate a fluroescent lamp or flurescent tube More...
 
uint16_t getCurrentBrightness ()
 get the current brightness More...
 
void on () override
 switch on
 
void off () override
 switch off
 
void toggle () override
 switch between on or off state
 
void update (uint32_t currentMillis=millis())
 check if update is necessary More...
 

Detailed Description

Imitiate fluorescent lamp with a FastLED.

wrapper for a Fluorescent imitating FastLED. Inherits "style" class and composites FastLED

Constructor & Destructor Documentation

◆ FluorescentFastLED()

FluorescentFastLED::FluorescentFastLED ( 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