mBot - Wait and Stop with obstacles


1 mBot

1 tablet with mBlock app

Step  1 : Connect the mBot to the tablet and go to the programming interface

Press dedicated button on the upper right-hand corner to connect to the mBot

Step  2 : Try Wait blocks

Use the blocks wait until, mBot is picked up and lights up "colour" to change into red when the mBot is picked up

Note: that the program stops and waits for the condition to be met

Step  3 : Exercise

Make the mbot to go ahead, until there is an obstacle in front. Then, stop it moving and turn on the red light