Showing posts with label Labeling. Show all posts
Showing posts with label Labeling. Show all posts

Tuesday, December 23, 2014

How to label and control separately 2 or more Wedo motors

We can connect 2 or more Lego Wedo motors to the USB hub and run a program to move the motors such as the first program shown in the screenshot below:

2 labeled Lego WeDo motor and timing blocks
2 labeled Lego WeDo motor and timing blocks

If you run the first program, both motors will rotate this way (clockwise) for 3 seconds, then both will rotate that way (anticlockwise) for anotehr 3 seconds

If you want them to run separately, you need to label both the motor blocks as well as the timing block with different labels as shown in program 2 above. To label the first motor block with 1 button, shift+click on the motor block once, likewise for the timing block. Then shift-click twice on the second motor block to label it with 2 buttons, likewise for the second timing block.
Related Posts Plugin for WordPress, Blogger...