Exercice : Mini challenge

Mini Challenge 1: Railroad Crossing

Instead of red and green lights, some traffic signals simply use signs that raise and lower in the path of traffic.

Question

Program your robot so that instead of waiting for a green light, it waits for the red stop sign to be taken away.