Lesson 4 Modes of Loop Block
Lesson 4 Modes of Loop Block
Learning Objectives:
At the end of the lesson, the students are expected to:
1. Show understanding of the functions of loop block in the
program;
2. Configure the loop block in the mode selector;
3. Apply different modes of loop block to solve complicated task
The Loop Block
Another important ad powerful block used in EV3 software
is the loop block. This is very effective if you want to
perform a certain task over and over again. Like in the
case of making a square program, using the linear method
takes you eight blocks to accomplish such task. The
process is very tasking and time consuming. With the help
of the loop block you will just use two blocks, one is going
forward and the other one going to the right or left
depending on how you accomplish the task.
The good thing with this block
compared to its predecessor is
that it has nodes. You can easily
resize it by manipulating its nodes
and can make a space for the
incoming blocks. The block
stretches involuntarily to fit new
blocks once the block is removed.
One advantage of the loop in EV3 is you can name
the loop so it is easy for you to terminate it by calling
it in any part of the program.