Explain what is happening in the program


I need help, what is happening in this program… I’m new help huhu :(((

Sets the touch LED colors to Red
displays the Motor Value until it is greater or equal to 100
Sets the Left Touch LED color to green.
Displays the right motor encoder value until I it greater than or equal to -200
sets the right led to green
waits 5 seconds
plays the car alarm sound
moves a motor for 2 seconds for 10 units.

Im guessing the obj of this program is to kinda calibrate the motors or something. This isn’t really the way to do it but that’s what it is.

3 Likes