Forward Until Touch Robot goes forward until it hits a wall
NXT Touch Sensors
NXT Touch Sensors How does the NXT detect when the Touch Sensor is pressed? The NXT detects the electrical current flow produced by the circuit that is completed when the contact is pressed in.
Forward Until Touch Program
Motor Block One Details
Touch Block Two Details
Motor Block Three Details
Test Your Robot Robot goes forward until it hits a wall
Forward Until Released
Forward Until Released Touch Block Two Details Wait for the Touch Sensor on Port 1 to be Released
Test your Robot