Yahboom Omibox Robot Kit Expand Course 4.3 Singer with light
1-1. The position of the RGB lights in the robot car
1-2. Learn how to use RGB lights graphically program building blocks
1-3. Learn how to control RGB light by graphical programming
As shown in the above picture, we circled the white square with a red wire frame. This white square is the RGB light on the Omibox. We can change different colors and brightness for them by programming.
In this lesson, we will learn to swtich color of 8 RGB lights on the Omibox robot and the buzzer will play music.
3.Search for blocks
The following is the location of the building blocks required for this programming.
4. Combine blocks
The summary program is shown below:
After the program is uploaded, open teh power of the car. We can see that the robot will swicth different color of the RGB lights and play music“Two tigers”.
The code of the experiment: 3.Singer with light.rar