Lesson 51 · The motor and the ultrasonic sensor
✓ You already watched this lesson
The number is no longer set by a person or by chance—it's set by a sensor. This is a change in kind, not in degree: the program reacts to the world.
🎯 The challenge of this lesson
Put the reading into a Map block that goes from forty to one hundred and you'll see the motor never fully stops; then use an If to stop it dead below twenty, and compare the two ways of braking.
Read the written page for this lesson →
Stuck on this lesson?
Write your question and another student — or the teacher — will answer. Your email is never published: it is only used to let you know when someone replies.
- Loading the questions…