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

Switch on/off a FastLED smoothly. More...

#include <Noiasca_fastled.h>

Inheritance diagram for SmoothFastLED:
Smooth< Fastled_IF >

Public Member Functions

 SmoothFastLED (CFastLED &strip, uint16_t pixel, struct CRGB *leds)
 
- Public Member Functions inherited from Smooth< Fastled_IF >
 Smooth (Fastled_IF &obj)
 dim up / down a LED dimms smoothly More...
 
void offForced ()
 force switch off More...
 
uint16_t getCurrentBrightness ()
 get the current brightness More...
 
void getCurrentBrightness (uint16_t brightness)
 set the current brightness More...
 
void setMaxBrightness (uint16_t newValue)
 set the maximum brightness More...
 
void update (uint32_t currentMillis=millis())
 check if update is necessary More...
 

Detailed Description

Switch on/off a FastLED smoothly.

wrapper to smooth FastLED. Inherits "style" class and composites FastLED.

Constructor & Destructor Documentation

◆ SmoothFastLED()

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