FastFX  1.1.0
LED Strip Animation and Effects Framework for Arduino
FFXFastLEDPixelController Class Reference

#include <FFXFastLEDPixelController.h>

+ Inheritance diagram for FFXFastLEDPixelController:

Public Member Functions

 FFXFastLEDPixelController (CRGB *initLeds, uint16_t numLeds)
 
virtual void updateBrightness (uint8_t newBrightness)
 
virtual void show () override
 
- Public Member Functions inherited from FFXPixelController
 FFXPixelController (CRGB *initLeds, uint16_t initNum)
 
virtual ~FFXPixelController ()
 
virtual void setBrightness (uint8_t newBrightness)
 
uint8_t getBrightness ()
 
CRGB * getLeds ()
 
void setLeds (CRGB *newLeds)
 
uint16_t getNumLeds ()
 
void setNumLeds (uint16_t newNum)
 

Detailed Description

FFXFastLEDPixelController - Class to wrap FastLED.show() and overall brighness settings. Note that the FFX framework uses its own brightness framework so different segments can have different brightness levels. This can be utilized to limit the overall Maximum brightness if needed.

Constructor & Destructor Documentation

◆ FFXFastLEDPixelController()

FFXFastLEDPixelController::FFXFastLEDPixelController ( CRGB *  initLeds,
uint16_t  numLeds 
)
inline

Member Function Documentation

◆ show()

virtual void FFXFastLEDPixelController::show ( )
inlineoverridevirtual

Implements FFXPixelController.

◆ updateBrightness()

virtual void FFXFastLEDPixelController::updateBrightness ( uint8_t  newBrightness)
inlinevirtual

Implements FFXPixelController.