#include <liblightify++.hpp>
Definition at line 220 of file liblightify++.hpp.
§ Lightify_Group()
§ GetId()
§ GetName()
§ SetBrightness()
int SetBrightness |
( |
int |
level, |
|
|
int |
time |
|
) |
| |
|
inline |
Set brightness
- Parameters
-
level | 0..100 |
time | time in 1/10s |
- Returns
- negative on error
Definition at line 279 of file liblightify++.hpp.
§ SetCCT()
int SetCCT |
( |
int |
cct, |
|
|
int |
time |
|
) |
| |
|
inline |
Set color temperature
- Parameters
-
cct | to be set |
time | fadetime for transition in 1/10 secs |
- Returns
- negative on error
Definition at line 250 of file liblightify++.hpp.
§ SetRGBW()
int SetRGBW |
( |
int |
red, |
|
|
int |
green, |
|
|
int |
blue, |
|
|
int |
white, |
|
|
int |
time |
|
) |
| |
|
inline |
Set color components
- Note
- observed, that white can only be set when the other colors are 0.
Color values are good from 0-255
- Parameters
-
red | to be set |
green | to be set |
blue | to be set |
white | to be set |
time | fadetime for transition in 1/10 secs |
- Returns
- negative on error
Definition at line 268 of file liblightify++.hpp.
§ TurnOnOff()
int TurnOnOff |
( |
bool |
onoff | ) |
|
|
inline |
§ Lightify
The documentation for this class was generated from the following file: