|
ESPectro32 Library
Library for using ESPectro32 board
|
A class of Neopixel RGB LED glowing animation. More...
#include <ESPectro32_RGBLED_Animation.h>
Public Member Functions | |
| ESPectro32_RGBLED_GlowingAnimation (ESPectro32_RGBLED &rgbLed, RgbLedColor_t &defaultColor) | |
| void | start (uint16_t duration=0, uint16_t count=0) |
| Start the animation. More... | |
| void | stop () |
Public Member Functions inherited from ESPectro32_RGBLED_Animation | |
| 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 () |
Additional Inherited Members | |
Protected Member Functions inherited from ESPectro32_RGBLED_Animation | |
| Animator * | getAnimatorPtr () |
Protected Attributes inherited from ESPectro32_RGBLED_Animation | |
| 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 |
A class of Neopixel RGB LED glowing animation.
| void ESPectro32_RGBLED_GlowingAnimation::start | ( | uint16_t | duration = 0, |
| uint16_t | count = 0 |
||
| ) |
Start the animation.
| [in] | duration | How long in milisecond that one cycle of fading in and out takes place |
| [in] | count | How many cycle |
1.8.6