|
|
%!s(int64=3) %!d(string=hai) anos | |
|---|---|---|
| .. | ||
| include | %!s(int64=4) %!d(string=hai) anos | |
| CMakeLists.txt | %!s(int64=3) %!d(string=hai) anos | |
| README.md | %!s(int64=5) %!d(string=hai) anos | |
| iot_led.c | %!s(int64=3) %!d(string=hai) anos | |
| iot_light.c | %!s(int64=3) %!d(string=hai) anos | |
| light_driver.c | %!s(int64=4) %!d(string=hai) anos | |
A light device can provide:
To use the light device, you need to:
If any channel(s) work(s) in blink mode, all the other channels would be turned off. iot_light_blink_stop() must be called before setting any channel to other mode(write duty or breath).