setEyelightLook(id,face,times,red,green,blue)
Set the emoticons to light up different color of expressions (non-blocking)
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
Example
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 control the blinking of eye lamp ID-1, ID-2 in red and 5 times
PrevioussetEyelightPetals(id,petalsnum,petals)NextsetEyelightLookUntil(id,face,times,red,green,blue)
Last updated