Material:
mBot
Procedure:
STEP 1
Write a code for moving the mBot on a rectangular trajectory: in this step please avoid using repetition cycle.
Upload the code on the mBot and run it.
STEP 2
Write a code for moving the mBot on a square trajectory: in this step please avoid using repetition cycle.
Upload the code on the mBot and run it.
Is there any difference in coding a rectangular or a square trajectory at this level?
STEP 3
Write a code for moving the mBot on a rectangular trajectory, using repetition cycle.
Upload the code on the mBot and run it.
STEP 4
Write a code for moving the mBot on a square trajectory, using repetition cycle.
Upload the code on the mBot and run it.
Why is it possible to use a repetition cycle in coding these trajectories?
Is there any difference in coding a rectangular or a square trajectory at this level?