28
8.RGB lights dancing
Hardware principle of RGB light : There are four "LED lights" on the
LED module. Each LED light is composed of a red LED lamp bead, a
green LED lamp bead and a blue LED lamp bead.
Software Command
Set the color of the RGB light
“all” : select the light which you
want to control
Create a target:When Qbot moves, RGB lights randomly issued a
variety of colors of light.