LEGO Engineering

| | | | | | | |
What is the NXT-G Logic block for?


20th of April, 2010

(23 )
95% thumbs up 4% thumbs down

The Logic block (located in the 'Data' section in the 'complete palette' tab on the left side of the screen) is used to make decisions based on two binary inputs. The configuration panel allows you to choose how the block makes the decision.  



The program attached, logic.rbt, is a good example of how the logic button can be used to create a remote control. This program makes a car run whenever touch sensors 1 and 2 are simultaneously pressed.
   :
   :
* :
* :
 


Home | About Us | Contact Us

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