Noiasca Tool Kit
Several helper functions and classes to make life with Arduino easier
Public Member Functions | List of all members
SmoothPixel Class Reference

Switch on/off a Neopixel smoothly. More...

#include <Noiasca_neopixel.h>

Inheritance diagram for SmoothPixel:
Smooth< NeoPixel >

Public Member Functions

 SmoothPixel (Adafruit_NeoPixel &strip, uint16_t pixel)
 
- Public Member Functions inherited from Smooth< NeoPixel >
 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...
 

Detailed Description

Switch on/off a Neopixel smoothly.

wrapper to smooth Neopixel. Inherits "style" class and composites NeoPixel.

Constructor & Destructor Documentation

◆ SmoothPixel()

SmoothPixel::SmoothPixel ( Adafruit_NeoPixel &  strip,
uint16_t  pixel 
)
inline
Parameters
stripa reference to your strip object
pixelthe pixel on the strip to be used