| Description | This example demonstrates the use of multiple NXT flags. A robot is programmed to constantly check if the light sensor is on a dark surface, the touch sensor is pressed, and if the ultrasonic sensor is more than 10 cm away from an object. If any of these conditions are met, a corresponding flag is set to true and the parallel while loop reacts accordingly.

|