setEyelightLookUntil(id,face,times,red,green,blue)
设置眼灯亮不同颜色的表情(阻塞)
Parameter
Parameters | Type | Description |
id | unsigned char | ID number to be controlled, range 0 ~ 10 |
face | int | face is the type of expression 0 blinks, 1 sad, 2 hot tears, 3 flashing tears, 4 crying, 5 dizzy, 6 happy, 7 surprised, 8 breathing, 9 blinking, 10 fan, 11 wiper |
times | int | Emoticons repeats how many times |
red | int | pwm set RGB light, red light brightness: range 0 ~ 255 |
green | int | pwm set RGB light, green light brightness: range 0 ~ 255 |
blue | int | pwm set RGB light, blue light brightness: range 0 ~ 255 |
例子
This feature requires an upgrade to the latest SDK.
Use the uKit Explore v2 board to control the blinking of eye lamp ID-1 in red and 5 times
Use the uKit Explore v2 board to simultaneously control the blinking of the eye lamp ID-1 in red and 5 times, and then the blinking of the eye lamp ID-2, in red and 5 times:
Last updated