Mini Challenge 1: Backward Until Far
The program above is Forward Until Near, meaning the robot will move forward until it detects a wall or object within the set threshold. Now, perform the opposite. Create a program that makes the robot make backwards from a wall or object until it is beyond the set threshold.
Remember that negative motor power makes the robot move backwards
The distance will start below the threshold (CLOSER than 30 cm). You will need to back up until the distance is GREATER THAN the threshold.