Chapter 6.1 - Detect obstacle and avoid

Write the following program to have the Edison robot drive until it encounters an obstacle, then turn 180° and drive for 1 second away from the obstacle.


Use the right amount of time to have the robot to turn 180°, where indicated above by the orange question mark (?).