|
Noiasca Tool Kit
Several helper functions and classes to make life with Arduino easier
|
alternate blinking of two PCA9685 outputs. More...
#include <Noiasca_PCA9685.h>
Public Member Functions | |
| AlternatingPCA9685 (Adafruit_PWMServoDriver &pwm, uint16_t pixel) | |
Public Member Functions inherited from Alternating< PCA9685 > | |
| void | begin () |
| start hardware More... | |
| void | setOnInterval (uint16_t onA, uint16_t onB) |
| set on/off times More... | |
| void | setOnInterval (uint16_t onA) |
| set on/off times More... | |
| void | setOnStateChange (Callback funcPtr) |
| set the callback function onStateChange More... | |
| void | on () |
| switch output on More... | |
| void | off () |
| switch output off More... | |
| void | toggle () |
| switch between on or off state | |
| void | update (uint32_t currentMillis=millis()) |
| check if update is necessary More... | |
alternate blinking of two PCA9685 outputs.
wrapper to alternate two PCA9685 outputs. Inherits "style" class and composites PCA9685
|
inline |
| pwm | a reference to your PCA9685 object |
| pixel | the first of two pixels on the PCA9685 to be used (also the next pixel will be used!) |