My Project
 All Classes Functions Variables Pages
Public Member Functions | List of all members
Apa102 Class Reference
Inheritance diagram for Apa102:
SmartLED

Public Member Functions

void init ()
 
void show ()
 Show the pixels on an APA102 device. The pixels that have been set are pushed to the APA102 devices.
 
- Public Member Functions inherited from SmartLED
uint32_t getBrightness ()
 Get the brightness as a percentage. More...
 
uint16_t getPixelCount ()
 Return the number of pixels in the chain. More...
 
void setBrightness (uint32_t percent)
 Set the brightness as a percentage. More...
 
void setColorOrder (char *order)
 Set the color order of data sent to the LEDs. More...
 
void setPixel (uint16_t index, uint8_t red, uint8_t green, uint8_t blue)
 Set the given pixel to the specified color. More...
 
void setPixel (uint16_t index, pixel_t pixel)
 Set the given pixel to the specified color. More...
 
void setPixel (uint16_t index, uint32_t pixel)
 Set the given pixel to the specified color. More...
 
void setPixelCount (uint16_t pixelCount)
 
void setHSBPixel (uint16_t index, uint16_t hue, uint8_t saturation, uint8_t brightness)
 Set the given pixel to the specified HSB color. More...
 
void clear ()
 Clear all the pixel colors. More...
 

Additional Inherited Members

- Protected Attributes inherited from SmartLED
uint32_t m_brightness
 
char * m_colorOrder
 
uint16_t m_pixelCount
 
pixel_tm_pixels
 

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