|
Noiasca Tool Kit
Several helper functions and classes to make life with Arduino easier
|
bounce 5 LEDs on PCA9685 between left and right More...
#include <Noiasca_PCA9685.h>
Public Member Functions | |
| Bounce5PCA9685 (Adafruit_PWMServoDriver &pwm, uint16_t pixel) | |
Public Member Functions inherited from Bounce5< PCA9685 > | |
| Bounce5 (PCA9685 &obj) | |
| Bounce 5 LEDs between left and right. More... | |
| void | begin () |
| start hardware 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... | |
bounce 5 LEDs on PCA9685 between left and right
wrapper to bounce a series of 5 PCA9685 outputs. Inherits "style" class and composites PCA9685
|
inline |
| pwm | a reference to your PCA9685 output |
| pixel | the first of 5 outputs on the PCA9685 to be used |