Pocuter status LED.
More...
#include <RGBled.h>
|
| virtual LEDERROR | setRGB (uint8_t ledNumber, uint8_t r, uint8_t g, uint8_t b)=0 |
| | Setting Status LED. More...
|
| |
◆ LEDERROR
| Enumerator |
|---|
| LEDERROR_OK | |
| LEDERROR_FAILURE | |
◆ setRGB()
| virtual LEDERROR RGBled::setRGB |
( |
uint8_t |
ledNumber, |
|
|
uint8_t |
r, |
|
|
uint8_t |
g, |
|
|
uint8_t |
b |
|
) |
| |
|
pure virtual |
Setting Status LED.
- Parameters
-
| ledNumber | the led id |
| r | value |
| g | value |
| b | value |
- Returns
- LEDERROR_OK Success
- LEDERROR_FAILURE failed to set RGB
The documentation for this class was generated from the following file: