FastLED 3.9.15
|
An animation that moves a single LED back and forth (Larson Scanner effect)
#include <cylon.h>
Public Member Functions | |
Cylon (uint16_t num_leds, uint8_t fade_amount=250, uint8_t delay_ms=10) | |
void | draw (DrawContext context) override |
fl::string | fxName () const override |
![]() | |
Fx1d (u16 numLeds) | |
void | setXmap (const XMap &xMap) |
u16 | xyMap (u16 x) const |
![]() | |
Fx (uint16_t numLeds) | |
uint16_t | getNumLeds () const |
virtual bool | hasFixedFrameRate (float *fps) const |
virtual void | pause (fl::u32 now) |
virtual void | resume (fl::u32 now) |
Public Attributes | |
uint8_t | delay_ms |
Private Attributes | |
uint8_t | fade_amount |
uint8_t | hue = 0 |
int16_t | position = 0 |
bool | reverse = false |
Additional Inherited Members | |
![]() | |
using | DrawContext = _DrawContext |
![]() | |
virtual | ~Fx () |
![]() | |
XMap | mXMap |
![]() | |
uint16_t | mNumLeds |