Project

General

Profile

Raspberry PI GPIO Scol plugin
RpiPCA9685 Class Reference

Public Member Functions

 RpiPCA9685 (int deviceId=0x40, int pinBase=300, int frequency=50)
 
int PwmRead (int pin)
 
void PwmWrite (int pin, int value)
 
void Reset ()
 
void SetFrequency (int frequency)
 
void FullOn (int pin)
 
void FullOff (int pin)
 

Detailed Description

Definition at line 6 of file rpiPCA9685.h.

Constructor & Destructor Documentation

◆ RpiPCA9685()

RpiPCA9685::RpiPCA9685 ( int  deviceId = 0x40,
int  pinBase = 300,
int  frequency = 50 
)

Definition at line 17 of file rpiPCA9685.cpp.

◆ ~RpiPCA9685()

RpiPCA9685::~RpiPCA9685 ( )

Definition at line 27 of file rpiPCA9685.cpp.

Member Function Documentation

◆ FullOff()

void RpiPCA9685::FullOff ( int  pin)

Definition at line 96 of file rpiPCA9685.cpp.

◆ FullOn()

void RpiPCA9685::FullOn ( int  pin)

Definition at line 86 of file rpiPCA9685.cpp.

◆ PwmRead()

int RpiPCA9685::PwmRead ( int  pin)

Definition at line 38 of file rpiPCA9685.cpp.

◆ PwmWrite()

void RpiPCA9685::PwmWrite ( int  pin,
int  value 
)

Definition at line 51 of file rpiPCA9685.cpp.

◆ Reset()

void RpiPCA9685::Reset ( )

Definition at line 66 of file rpiPCA9685.cpp.

◆ SetFrequency()

void RpiPCA9685::SetFrequency ( int  frequency)

Definition at line 76 of file rpiPCA9685.cpp.


The documentation for this class was generated from the following files:
  • G:/work/subversion/scol-technologies/trunk/scol/plugins/rpiGPIO/include/rpiPCA9685.h
  • G:/work/subversion/scol-technologies/trunk/scol/plugins/rpiGPIO/src/rpiPCA9685.cpp