Getting Started Guide
CLASS 3
14
When you put your finger on the infrared sensor, the motor will turn on.
If not, the motor turns off.
Infrared (IR) Sensor Coding Experience
Coding a mini windmill with an ir sensor
In the flowchart, you can see that the digital input value is the same as the button sensor.
Check Again!
Program
start
True
Is the IR sensor
true or false?
False
Turn on the
motor
STOP
Check Again!
Turn off the
motor