Noiasca Tool Kit
Several helper functions and classes to make life with Arduino easier
|
Switch on/off a Neopixel smoothly. More...
#include <Noiasca_neopixel.h>
Public Member Functions | |
SmoothPixel (Adafruit_NeoPixel &strip, uint16_t pixel) | |
![]() | |
Smooth (NeoPixel &obj) | |
dim up / down a LED dimms smoothly More... | |
void | offForced () |
force switch off More... | |
uint16_t | getCurrentBrightness () |
get the current brightness More... | |
void | getCurrentBrightness (uint16_t brightness) |
set the current brightness More... | |
void | setMaxBrightness (uint16_t newValue) |
set the maximum brightness More... | |
void | update (uint32_t currentMillis=millis()) |
check if update is necessary More... | |
Switch on/off a Neopixel smoothly.
wrapper to smooth Neopixel. Inherits "style" class and composites NeoPixel.
|
inline |
strip | a reference to your strip object |
pixel | the pixel on the strip to be used |