Noiasca Tool Kit
Several helper functions and classes to make life with Arduino easier
|
turnsignals for a car with 3 PCA9685 outputs. More...
#include <Noiasca_PCA9685.h>
Public Member Functions | |
TurnsignalPCA9685 (Adafruit_PWMServoDriver &pwm, byte pixelA, byte pixelB, byte pixelC) | |
![]() | |
Turnsignal (PCA9685Group< 3 > &obj) | |
car Turn signal More... | |
void | begin () |
start hardware More... | |
void | setInterval (uint16_t _on, uint16_t _off) |
set on/off times More... | |
void | setOnColor (uint16_t actual, uint32_t _on) |
set on/off color More... | |
void | left () |
left turning signal on More... | |
void | right () |
right turning signal on More... | |
void | hazard () |
hazard turning signal on More... | |
void | setOnStateChange (Callback funcPtr) |
set the callback function onStateChange More... | |
void | update (uint32_t currentMillis=millis()) |
check if update is necessary More... | |
turnsignals for a car with 3 PCA9685 outputs.
wrapper for a turning signal with 3 PCA9685 outputs. Inherits "style" class and composites PCA9685.
|
inline |
pwm | a reference to your pwm object |
pixelA | the pixel on the pwm to be used for left |
pixelB | the pixel on the pwm to be used for right |
pixelC | the pixel on the pwm to be used for hazard light |