#include <ledcom.h>
List of all members.
Public Member Functions |
void | clear () |
void | connect (const std::string, const unsigned long) |
void | flush () |
void | setHSV (const uint8_t, float, float, float) |
void | setLEDCount (const uint8_t) |
void | setRGB (const uint8_t, const uint8_t, const uint8_t, const uint8_t) |
Private Member Functions |
void | write (const uint8_t[], uint32_t) |
Private Attributes |
serial::Serial * | serial_conn |
Static Private Attributes |
static const uint8_t | CLEAR_MSG [1] = {'c'} |
static const uint8_t | FLUSH_MSG [1] = {'f'} |
Detailed Description
Definition at line 10 of file ledcom.h.
Member Function Documentation
void LedCOM::setHSV |
( |
const uint8_t |
index, |
|
|
float |
h, |
|
|
float |
s, |
|
|
float |
v |
|
) |
| |
void LedCOM::setRGB |
( |
const uint8_t |
index, |
|
|
const uint8_t |
r, |
|
|
const uint8_t |
g, |
|
|
const uint8_t |
b |
|
) |
| |
void LedCOM::write |
( |
const uint8_t |
data[], |
|
|
uint32_t |
data_size |
|
) |
| [private] |
Member Data Documentation
The documentation for this class was generated from the following file: