Yahboom Omibox Robot Kit Expand Course 4.1 Colorful water 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 use the program to make different colors and brightness.
In this lesson, we will learn to light up 8 RGB lights on the Omibox robot to achieve the experimental effect of the water light.
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:
5. Experimental phenomena
After the program is uploaded, open the power of the car. We can see that the 8 RGB lights on the Omibox robot are lit up in turn, which looks like water light.
The code of the experiment: 1.Colorful water light.rar