LEGO Engineering

| | | | | | | |
The motors on my robotic creation never stop running!


22nd of April, 2010

(0 )

There is no stop command for the motors in the program.
 
The program below turns the motors on, waits for 4 seconds then ends the program, but never stops the motors. The motors will then run until the RCX is turned off or runs out of power.

image038.jpg


Add stop commands for the motors before the program ends. (The following example stops ports A-C, but an A stop sign and a C stop sign would accomplish the same goal.)

image040.jpg






ses
kw
   :
   :
* :
* :
 


Home | About Us | Contact Us

© 2013 Center for Engineering Educational Outreach, Tufts University
© 2013 The LEGO Group. All rights reserved.