Here the program executes the On AC block in a fraction of a second and immediately moves to the next block, Beep

 

Here the program doesn’t leave the On AC block for 2 seconds, only then it drops to the next block, Beep.

 

Motors A and C turn on.  They turn off when the touch sensor is pressed.  The motors do not turn on again.

 

Motors A and C turn on for 8 seconds.  If the sensor is pressed within these 8 seconds, the motors stop briefly and immediately turn on again for 8 seconds.

 

Transparency # 2A. To be used with Working with Touch Sensors activity.

© The LEGO Group

Close Window