Noiasca Tool Kit
Several helper functions and classes to make life with Arduino easier
|
simulate a flickering light like a fire on a PCA9685 More...
#include <Noiasca_PCA9685.h>
Public Member Functions | |
FlickerPCA9685 (Adafruit_PWMServoDriver &pwm, uint16_t pixel) | |
![]() | |
Flicker (PCA9685 &obj) | |
simulate a flickering light like a fire More... | |
void | off () override |
switch off | |
void | setMaxBrightness (uint8_t _maxBrightness) |
set the maximum brightness More... | |
void | toggle () |
switch between on or off state | |
void | update (uint32_t currentMillis=millis()) |
check if update is necessary More... | |
simulate a flickering light like a fire on a PCA9685
wrapper to flicker an output on a PCA9685 output. Inherits "style" class and composites PCA9685
|
inline |
pwm | a reference to your PCA9685 output |
pixel | the output on the PCA9685 to be used |