This program waits for the touch sensor to be pressed then runs
the motor forward until the touch sensor is pressed again to
stop the motor. This is the sub VI for the "Using Sub VIs"
example. Runs the motors backwards for two full rotations then
stops them. Important: download the "Using Sub VIs" example,
found here, in order to use this to its full demonstrative
capability. This program runs all motors forward until the light
sensor reads below 40, this starts the subVI that runs the
motors backwards for two full rotations then stops them.
Important: Also download the sub-VI here, or this will not work
properly! This program uses a flat sequence structure to have a
car drive forward for four seconds, then using the encoder it
should be able to return to its starting position. This program
times how long a while loop iteration takes using a shift a
register and displays the value on the NXT screen. This program
uses a while loop and shift register to add 1 to the value of
the previous iteration, the value is