|
Noiasca Tool Kit
Several helper functions and classes to make life with Arduino easier
|
enable several effects on a Neopixel More...
#include <Noiasca_neopixel.h>
Public Member Functions | |
| EffectPixel (Adafruit_NeoPixel &strip, uint16_t pixel) | |
Public Member Functions inherited from Effect< NeoPixel > | |
| void | off () override |
| switch output off More... | |
| void | on (bool force=false) |
| switch on More... | |
| void | offForced () |
| ** More... | |
| brightness_t | getCurrentBrightness () |
| get the current brightness More... | |
| void | setCurrentBrightness (brightness_t brightness) |
| set the current brightness More... | |
| void | setMaxBrightness (brightness_t maxBrightness) |
| set the maximum brightness More... | |
| void | setOnInterval (uint16_t newInterval) |
| set on interval More... | |
| void | setOffInterval (uint16_t newInterval) |
| set off interval More... | |
| void | toggle () override |
| switch between on or off state More... | |
| void | update (uint32_t currentMillis=millis()) |
| check if update is necessary More... | |
| void | setInterval (uint16_t _interval0, uint16_t _interval1) |
| set on/off times More... | |
| void | setInterval (uint16_t _interval0, uint16_t _interval1, uint16_t _interval2, uint16_t _interval3) |
| set on/off times More... | |
| void | setInterval (uint16_t _interval0, uint16_t _interval1, uint16_t _interval2, uint16_t _interval3, uint16_t _interval4, uint16_t _interval5) |
| set on/off times More... | |
| void | setInterval (uint16_t _interval0, uint16_t _interval1, uint16_t _interval2, uint16_t _interval3, uint16_t _interval4, uint16_t _interval5, uint16_t _interval6, uint16_t _interval7) |
| set on/off times More... | |
| void | setModeOnOff () |
| activate OnOff mode More... | |
| void | setModeBlink () |
| activate Blink mode More... | |
| void | setModeFlicker () |
| activate Flicker mode | |
| void | setModeFluorescent () |
| activate Fluorescent mode More... | |
| void | setModeHeartbeat () |
| activate Heartbeat mode More... | |
| void | setModePulse () |
| activate Pulse mode More... | |
| void | setModeRhythm () |
| activate Rhythm mode More... | |
| void | setModeSmooth () |
| activate Smooth mode More... | |
| void | blink (uint32_t currentMillis) |
| "run" function for blink effect More... | |
| void | flicker (uint32_t currentMillis=millis()) |
| "run" function for flicker effect More... | |
| void | fluorescent (uint32_t currentMillis=millis()) |
| check if update is necessary More... | |
| void | heartbeat (uint32_t currentMillis=millis()) |
| check if update is necessary More... | |
| void | pulse (uint32_t currentMillis=millis()) |
| check if update for pulse is necessary More... | |
| void | rhythm (uint32_t currentMillis=millis()) |
| check if update is necessary More... | |
| void | smooth (uint32_t currentMillis=millis()) |
| check if update is necessary More... | |
enable several effects on a Neopixel
wrapper to do several effects on a Neopixel. Inherits "style" class and composites Neopixel
|
inline |
| strip | a refernce to a Adafruit_Neopixel object (the "strip") |
| pixel | the pixel to be used |