Noiasca Tool Kit
Several helper functions and classes to make life with Arduino easier
|
heart beat a PCA9685. More...
#include <Noiasca_PCA9685.h>
Public Member Functions | |
HeartbeatPCA9685 (Adafruit_PWMServoDriver &pwm, uint16_t pixel) | |
![]() | |
Heartbeat (PCA9685 &obj) | |
heart beat LED More... | |
uint16_t | getCurrentBrightness () |
get the current brightness More... | |
void | setCurrentBrightness (uint8_t brightness) |
set the current brightness More... | |
void | setMaxBrightness (uint8_t maxBrightness) |
set the maximum brightness More... | |
void | setMinBrightness (uint8_t minBrightness) |
set the minium brightness More... | |
void | on () override |
switch on | |
void | off () override |
switch off | |
void | toggle () |
switch between on or off state | |
void | update (uint32_t currentMillis=millis()) |
check if update is necessary More... | |
heart beat a PCA9685.
wrapper to heartbeat an output on a PCA9685. Inherits class heartbeat and composites PCA9685
|
inline |
pwm | a reference to your pwm object |
pixel | the pixel on the pwm to be used |