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

Public Member Functions

synchronized void delete ()
 
 APA102 (int ledCount, short spiBus, boolean batchMode, byte csn)
 
 APA102 (int ledCount, short spiBus, boolean batchMode)
 
 APA102 (int ledCount, short spiBus)
 
void setLed (int ledIdx, short brightness, short r, short g, short b)
 
void setLedBrightness (int ledIdx, short brightness)
 
void setAllLeds (short brightness, short r, short g, short b)
 
void setLeds (int startIdx, int endIdx, short brightness, short r, short g, short b)
 
void setLedsBrightness (int startIdx, int endIdx, short brightness)
 
void setLeds (int startIdx, int endIdx, byte[] colors)
 
void setBusSpeed (int hz)
 
void pushState ()
 

Protected Member Functions

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

Static Protected Member Functions

static long getCPtr (APA102 obj)
 

Protected Attributes

transient boolean swigCMemOwn
 

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