|
Noiasca Tool Kit
Several helper functions and classes to make life with Arduino easier
|
a on/off one Neopixel More...
#include <Noiasca_neopixel.h>
Public Member Functions | |
| OnOffPixel (Adafruit_NeoPixel &strip, uint16_t pixel) | |
Public Member Functions inherited from OnOff< NeoPixel > | |
| void | off () override |
| switch output off More... | |
| void | on () override |
| switch output off More... | |
| uint16_t | getCurrentBrightness () |
| get the current brightness More... | |
| void | setMaxBrightness (uint8_t newBrightness) |
| set the maximum brightness More... | |
| void | toggle () |
| switch between on or off state | |
a on/off one Neopixel
wrapper for an simple on/off on a Neopixel. This class provides a simple on() off() interface for a Neopixel. There is no effect during runtime. Inherits class pulse and composites NeoPixel
|
inline |
| strip | a reference to your strip object |
| pixel | the pixel on the strip to be used |