Torc  0.1
Public Member Functions | Protected Member Functions | Friends | List of all members
TorcI2CPCA9685 Class Reference

#include <torci2cpca9685.h>

Inheritance diagram for TorcI2CPCA9685:
[legend]

Public Member Functions

 TorcI2CPCA9685 (int Address, const QVariantMap &Details)
 
 ~TorcI2CPCA9685 ()
 
- Public Member Functions inherited from TorcI2CDevice
 TorcI2CDevice (int Address)
 
virtual ~TorcI2CDevice ()=default
 

Protected Member Functions

bool SetPWM (int Channel, int Value)
 Set the hardware PWM for given channel. More...
 

Friends

class TorcI2CPCA9685Channel
 

Additional Inherited Members

- Protected Attributes inherited from TorcI2CDevice
int m_address
 
int m_fd
 

Detailed Description

Definition at line 38 of file torci2cpca9685.h.

Constructor & Destructor Documentation

TorcI2CPCA9685::TorcI2CPCA9685 ( int  Address,
const QVariantMap &  Details 
)

Definition at line 93 of file torci2cpca9685.cpp.

TorcI2CPCA9685::~TorcI2CPCA9685 ( )

Definition at line 162 of file torci2cpca9685.cpp.

Member Function Documentation

bool TorcI2CPCA9685::SetPWM ( int  Channel,
int  Value 
)
protected

Set the hardware PWM for given channel.

Definition at line 182 of file torci2cpca9685.cpp.

Friends And Related Function Documentation

friend class TorcI2CPCA9685Channel
friend

Definition at line 40 of file torci2cpca9685.h.


The documentation for this class was generated from the following files: