Noiasca Tool Kit
Several helper functions and classes to make life with Arduino easier
|
a on/off one output on PCA9685 More...
#include <Noiasca_PCA9685.h>
Public Member Functions | |
OnOffPCA9685 (Adafruit_PWMServoDriver &pwm, uint16_t pixel) | |
![]() | |
void | off () override |
switch output off More... | |
void | on () override |
switch output off More... | |
uint16_t | getCurrentBrightness () |
get the current brightness More... | |
void | setMaxBrightness (uint8_t newBrightness) |
set the maximum brightness More... | |
void | toggle () |
switch between on or off state | |
a on/off one output on PCA9685
wrapper for an simple on/off on a PCA9685. This class provides a simple on() off() interface for a PCA9685. There is no effect during runtime. Inherits class pulse and composites PCA9685
|
inline |
pwm | a reference to your pwm object |
pixel | the pixel on the pwm to be used |