setEyelightScene(id,scene,times);
Set the eye lamp to the different scene mode (non-blocking)
Parameter
Parameters | Type | Description |
id | unsigned char | ID number to be controlled, range 0 ~ 10 |
scene | char | Scene types 0 colorful horse race lamp, 1 disco, 2 three primary colors, 3 color stacking |
times | int | Emoticons repeats how many times |
例子
Use the uKit Explore v2 board to control the eye lamp ID-1 to display colorful horse race lamp and repeat 5 times,
Use the uKit Explore v2 board to control the eye lamp ID-1 and ID-2 to display colorful horse race lamp, repeat 5 times.
Last updated