TXT
Discovery Set
ROBOTICS
17
Finally you can compare your program with the finished example
program, which can be called with the icon on the right.
After you have taken this hurdle, we want to change the task slightly:
Task 2: (Level 1)
The school principal is always interested in saving energy and
doesn't like the hand dryer to continue running after your hands are
dry. He asks you to rewrite the program so that the fan shuts off as
soon as you pull back your hands. That's not a problem for you,
is it?
Programming Tips:
As in the first program, it is necessary to interrogate the
phototransistor
I1. If the value is "0," switch motor M1 on and if the value is "1" switch
motor M1 off and so forth.
For this task, there is also a complete program just in case:
Hand dryer_1.rpp
Hand dryer_2.rpp
Содержание ROBOTICS ADVANCED
Страница 1: ......