Noiasca Tool Kit
Several helper functions and classes to make life with Arduino easier
|
Switch on/off a PCA9685 output smoothly. More...
#include <Noiasca_PCA9685.h>
Public Member Functions | |
SmoothPCA9685 (Adafruit_PWMServoDriver &pwm, uint16_t pixel) | |
![]() | |
Smooth (PCA9685 &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 PCA9685 output smoothly.
wrapper to smooth PCA9685 output. Inherits "style" class and composites PCA9685.
|
inline |
pwm | a reference to your pwm object |
pixel | the pixel on the pwm to be used |