EV3 Programming
EV3 Programming
Path=blocks
%2FLEGO%2FWait.html#SensorCompareModes
• http://www.legoengineering.com/how-to-wait-for-more-than-one-
sensor-condition/#:~:text=The%20Wait%20block%20is%20one,then
%20continue%20with%20the%20program.
https://sites.google.com/site/gask3t/lego-ev3/the-missing-
commentaries/hardware
EV3 Mindstorm Blocks for programming
stops
power 50
Time 1 second
It keeps the large motor on for 0.5 second with 20% power
and stops.
Large motor rotates 360 degrees with 50% power (moving clock w
Wait Block
It is a wait block that waits until the angle becomes less than or equal to 45 in opposite
direction.
For waiting
Gyro sensor for angle/rotation
•
1- The first block is a 'start' block.
2- A large motor on port D is made to turn through one rotation at 50% power with
the brake applied once the movement is complete.
3- A timer makes the program pause for 1 second.
4- The large motor on port D is made to turn through 360° (one rotation) at -50%
power so it will turn backwards. The brake is applied once the movement has
completed.
5- A timer makes the program pause for 1 second.
6- The large motor on port D is made to turn for 1 second at 18% power. The brake is
applied once the movement has completed.