top of page

Logic Operation Block


The logic operation block obtains true or false input(s) and produces a true or false result which corresponds with the respective mode that you have selected. The modes for the logic operation block are as follows:



XOR A , B True if only 1 of A or B is true, otherwise False


A sample usage of the logic operation block is shown below:

The first block turns the medium motor on for 0.5 seconds before coasting. Timer (ID:7) is reset. Within the loop the medium motor runs until either the power has decreased to below 40 or that 3 seconds has elapsed. The loop is exited when the output of the logic operation block is true.



Recent Posts

See All

Comments


Socials

  • Facebook
  • Twitter
  • Instagram
  • YouTube

Download the LEGO Mindstorms EV3 Education Software

Last Updated: 21/3/2023

© 2023 Robotics Club of MBSSKL
Proudly made with  with wix.com

bottom of page