upm  1.6.0
Sensor/Actuator repository for libmraa (v1.9.0)
Classes | Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
PCA9685 Class Reference

Classes

class  PCA9685_MODE1_T
 
class  PCA9685_MODE2_T
 
class  PCA9685_REG_T
 

Public Member Functions

synchronized void delete ()
 
 PCA9685 (int bus, short address, boolean raw)
 
 PCA9685 (int bus, short address)
 
 PCA9685 (int bus)
 
boolean writeByte (short reg, short arg1)
 
boolean writeWord (short reg, int word)
 
short readByte (short reg)
 
int readWord (short reg)
 
boolean setModeSleep (boolean sleep)
 
boolean ledFullOn (short led, boolean val)
 
boolean ledFullOff (short led, boolean val)
 
boolean ledOnTime (short led, int time)
 
boolean ledOffTime (short led, int time)
 
boolean setPrescale (short prescale)
 
boolean setPrescaleFromHz (float hz, float oscFreq)
 
boolean setPrescaleFromHz (float hz)
 
void enableRestart (boolean enabled)
 

Protected Member Functions

 PCA9685 (long cPtr, boolean cMemoryOwn)
 
void finalize ()
 

Static Protected Member Functions

static long getCPtr (PCA9685 obj)
 

Protected Attributes

transient boolean swigCMemOwn
 

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