FastLED 3.9.7
|
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 | draw (DrawContext context) override |
fl::Str | fxName () const override |
Public Member Functions inherited from fl::Fx1d | |
Fx1d (uint16_t numLeds) | |
void | setXmap (const XMap &xMap) |
uint16_t | xyMap (uint16_t x) const |
Public Member Functions inherited from fl::Fx | |
Fx (uint16_t numLeds) | |
virtual bool | hasFixedFrameRate (float *fps) const |
virtual void | pause (uint32_t now) |
virtual void | resume (uint32_t now) |
uint16_t | getNumLeds () const |
Public Member Functions inherited from fl::Referent | |
virtual int | ref_count () const |
Public Attributes | |
uint8_t | delay_ms |
Additional Inherited Members | |
Public Types inherited from fl::Fx | |
using | DrawContext = _DrawContext |
Protected Member Functions inherited from fl::Referent | |
Referent (const Referent &) | |
Referent & | operator= (const Referent &) |
Referent (Referent &&) | |
Referent & | operator= (Referent &&) |
virtual void | ref () |
virtual void | unref () |
virtual void | destroy () |
Protected Attributes inherited from fl::Fx1d | |
XMap | mXMap |
Protected Attributes inherited from fl::Fx | |
uint16_t | mNumLeds |
|
inline |
|
inlineoverridevirtual |
|
inlineoverridevirtual |