#include <dome/FireStrip.h>
template<uint8_t DATA_PIN, uint32_t RGB_ORDER = GRB, uint16_t NUM_LEDS = 8>
class FireStrip< DATA_PIN, RGB_ORDER, NUM_LEDS >
Animates electrical sparks and then fire.
Animates electrical sparks and then fire.
Example usage:
◆ FireStrip()
template<uint8_t DATA_PIN, uint32_t RGB_ORDER = GRB, uint16_t NUM_LEDS = 8>
◆ animate()
template<uint8_t DATA_PIN, uint32_t RGB_ORDER = GRB, uint16_t NUM_LEDS = 8>
virtual void FireStrip< DATA_PIN, RGB_ORDER, NUM_LEDS >::animate |
( |
| ) |
|
|
inlineoverridevirtual |
◆ burn()
template<uint8_t DATA_PIN, uint32_t RGB_ORDER = GRB, uint16_t NUM_LEDS = 8>
void FireStrip< DATA_PIN, RGB_ORDER, NUM_LEDS >::burn |
( |
uint16_t |
duration | ) |
|
|
inline |
Fire animation for the specified millisecond duration.
◆ dirty()
template<uint8_t DATA_PIN, uint32_t RGB_ORDER = GRB, uint16_t NUM_LEDS = 8>
void FireStrip< DATA_PIN, RGB_ORDER, NUM_LEDS >::dirty |
( |
| ) |
|
|
inline |
◆ getID()
template<uint8_t DATA_PIN, uint32_t RGB_ORDER = GRB, uint16_t NUM_LEDS = 8>
int FireStrip< DATA_PIN, RGB_ORDER, NUM_LEDS >::getID |
( |
| ) |
|
|
inline |
◆ handleCommand()
template<uint8_t DATA_PIN, uint32_t RGB_ORDER = GRB, uint16_t NUM_LEDS = 8>
virtual void FireStrip< DATA_PIN, RGB_ORDER, NUM_LEDS >::handleCommand |
( |
const char * |
cmd | ) |
|
|
inlineoverridevirtual |
◆ off()
template<uint8_t DATA_PIN, uint32_t RGB_ORDER = GRB, uint16_t NUM_LEDS = 8>
void FireStrip< DATA_PIN, RGB_ORDER, NUM_LEDS >::off |
( |
| ) |
|
|
inline |
◆ setup()
template<uint8_t DATA_PIN, uint32_t RGB_ORDER = GRB, uint16_t NUM_LEDS = 8>
virtual void FireStrip< DATA_PIN, RGB_ORDER, NUM_LEDS >::setup |
( |
| ) |
|
|
inlineoverridevirtual |
Configures the NeoPixel ring and centers the holoprojector if servos have been assigned.
Implements SetupEvent.
◆ spark()
template<uint8_t DATA_PIN, uint32_t RGB_ORDER = GRB, uint16_t NUM_LEDS = 8>
void FireStrip< DATA_PIN, RGB_ORDER, NUM_LEDS >::spark |
( |
uint16_t |
duration | ) |
|
|
inline |
Spark animation for the specified millisecond duration.
The documentation for this class was generated from the following file: