FastLED 3.9.3
|
An animation that moves a single LED back and forth (Larson Scanner effect)
#include <cylon.hpp>
Public Member Functions | |
Cylon (uint16_t num_leds, uint8_t fade_amount=250, uint8_t delay_ms=10) | |
void | lazyInit () override |
void | draw (DrawContext context) override |
const char * | fxName (int) const override |
Public Member Functions inherited from FxStrip | |
FxStrip (uint16_t numLeds) | |
void | setXmap (const XMap &xMap) |
uint16_t | xyMap (uint16_t x) const |
Public Member Functions inherited from Fx | |
Fx (uint16_t numLeds) | |
virtual bool | hasAlphaChannel () const |
virtual bool | hasFixedFrameRate (float *fps) const |
virtual int | fxNum () const |
virtual void | fxSet (int fx) |
virtual void | fxNext (int fx=1) |
virtual int | fxGet () const |
virtual void | pause () |
virtual void | resume () |
virtual void | destroy () |
uint16_t | getNumLeds () const |
Public Member Functions inherited from Referent | |
virtual int | ref_count () const |
Public Attributes | |
uint8_t | delay_ms |
Additional Inherited Members | |
Public Types inherited from Fx | |
using | DrawContext = _DrawContext |
Protected Member Functions inherited from Referent | |
Referent (const Referent &) | |
Referent & | operator= (const Referent &) |
Referent (Referent &&) | |
Referent & | operator= (Referent &&) |
virtual void | ref () |
virtual void | unref () |
Protected Attributes inherited from FxStrip | |
XMap | mXMap |
Protected Attributes inherited from Fx | |
uint16_t | mNumLeds |
|
inline |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |