Noiasca Tool Kit
Several helper functions and classes to make life with Arduino easier
Public Member Functions | List of all members
PulsePCA9685 Class Reference

pulse a PCA9685 output (monoflop) More...

#include <Noiasca_PCA9685.h>

Inheritance diagram for PulsePCA9685:
Pulse< PCA9685 >

Public Member Functions

 PulsePCA9685 (Adafruit_PWMServoDriver &pwm, uint16_t pixel)
 
- Public Member Functions inherited from Pulse< PCA9685 >
 Pulse (PCA9685 &obj)
 pulse an output for a period of time and than switches of More...
 
void setOnInterval (uint32_t _onInterval)
 set interval times More...
 
void off () override
 switch output off More...
 
void toggle ()
 switch between on or off state
 
void update (uint32_t currentMillis=millis())
 check if update is necessary More...
 

Detailed Description

pulse a PCA9685 output (monoflop)

wrapper to pulse a PCA9685 output. Inherits class pulse and composites PCA9685

Constructor & Destructor Documentation

◆ PulsePCA9685()

PulsePCA9685::PulsePCA9685 ( Adafruit_PWMServoDriver &  pwm,
uint16_t  pixel 
)
inline
Parameters
pwma reference to your pwm object
pixelthe pixel on the pwm to be used