I’m strugling to make this program with my mbot. Any help?
1.Move forward at speed 100 until it gets to with in 7 cm of an object.
2. Decide to turn left or right *Hint create a variable for this
a. If you turn left, turn the lights purple and sound the C4 tone as a whole note DISTINCTLY 3 times
b. If you turn right, turn the lights Green and sound the D3 tone as a whole note DISTINCTLY 5 times
3. Keep track of the total number of turns made. Use a variable called TurnCount
4. If the total number of turns reaches 3 turn the lights red and play the D4 tone 4 times
5. Robot must start on the start line and stop on the finish Line
Help with programming
KeeganV13
#1