Alphabot2 for micro:bit User Manual
OBSTACLE AVOIDING
We modify the last script to make robot to avoid obstacle.
1. Place
show string
is detected.
2. Place
pause (ms)
3. Place
Forward speed
4. Download the script to micro:bit and test
block with
speed
block to make robot turn right when obstacle
block
block after else to let robot move forward
44 / 76