Getting Started Guide
CLASS 3
66
Coding the mini windmill with ultrasonic sensor
You have to set the distance standard to check the analog value of the ultrasonic sensor. Do you remember the
threshold you learned at level 3? The mini windmill should work if you get the distance standard and closer to it,
and the mini windmill should not work if it is farther than the standard. This will be the script below.
Ultrasonic Sensor Coding Experience