Users Manual

CLASS 2
42
Combining the program
We can combine two programs into one.
The flowchart looks like below! Let’s say the program will repeat infinitely.
We can combine the programs like the
picture on the right. Should we start the
program now and control the boxing robot?
Program
srart
Yes
Yes
is the left
button sensor
pressed?
is the right
button sensor
pressed?
No
No
Turn on motor 4
Turn on motor 7
turn off motor 4
turn off motor 7
Expansion of the Button Sensor