ESPectro32 Library
Library for using ESPectro32 board
|
Base class of Neopixel RGB LED animation. You should provide callback for animUpdateCallback. More...
#include <ESPectro32_RGBLED_Animation.h>
Public Member Functions | |
ESPectro32_RGBLED_Animation (ESPectro32_RGBLED &rgbLed, RgbLedColor_t &defaultColor) | |
void | start () |
void | start (Animator::AnimationUpdateCallback animUpdateCallback, Animator::AnimationFinishedCallback animFinishedCallback, uint16_t duration=0, uint16_t updateInterval=0) |
void | stop () |
void | run () |
void | onAnimationCompleted (Animator::AnimationFinishedCallback cb) |
ESPectro32_RGBLED & | RgbLed () |
Protected Member Functions | |
Animator * | getAnimatorPtr () |
Protected Attributes | |
ESPectro32_RGBLED & | rgbLed_ |
RgbLedColor_t & | defaultColor_ |
Animator * | animator_ = NULL |
Animator::AnimationFinishedCallback | animCompletedCb_ = NULL |
boolean | animationPrevStarted_ = false |
uint16_t | animCompletedCount_ = 0 |
uint16_t | animMaxCount_ = 0 |
bool | forceStop_ = false |
Base class of Neopixel RGB LED animation. You should provide callback for animUpdateCallback.