LEGO Engineering

| | | | | | | |
I tried to use the touch sensor, but it didn't work.


22nd of April, 2010

(2 )
100% thumbs up 0% thumbs down

Often times programming problems are the result of how you have built your robotic creation.  In the above program there is no modifier wired into the Wait For Touch icon, therefore it defaults to waiting for a touch sensor to be pressed on Port 1.  However, if in your creation you have the touch sensor plugged into Port 2, no matter how much you press it, your motors will never be triggered to stop running.
image054.jpg
The programming solution to this problem is to specify the port which your touch sensor is plugged into (if your model allows, you could also physically switch which port your touch sensor is plugged into).

image056.jpg




ses
   :
   :
* :
* :
 


Home | About Us | Contact Us

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