Yahboom Omibox Robot Kit Expand Course 4.4 Chameleon
1-1. The position of the RGB lights and color detection module in the robot car
1-2. Learn how to use RGB lights and identify graphically program building blocks
As shown in the above picture, we circled RGB lights with a red wire frame,we circled the color detection module with a green wire frame.
In this lesson, we will learn how to realize RGB lights are lighted up the corresponding color when the Omibox robot recognizes different colors.
3.Search for blocks
The following is the location of the building blocks required for this programming.
The summary program is shown below:
After the program is uploaded, open the power of the car. The RGB lights will change color when it detects different colors.
The code of the experiment: 4.Chameleon.rar