Instructions
The programs below do not work as intended. Your job is to find and fix the bug(s).
Bug FOUR
Your task is to control the movement of the GoPiGo using timer values for one minute.
- If the timer is less than 15 seconds, then the GoPiGo should drive slowly forward without LEDs.
- If the timer is greater than 15 seconds, the GoPiGo should drive quickly with the LED "eyes" on, and drive left and right.
- If the timer is over 30 seconds, it should reset.
Look at the program below. If this program is run, what will the robot do? Connect to your GoPiGo and recreate the program to check your answer.