Mission 7- Sensors
Regular
Make your robot say “forwards” when your hand is more than 10cm away from it. Also, make it say “backwards” when your hand is closer than 10cm.
Advanced
Make your robot say “forwards” when your hand is between 10cm- 20cm from the robot, “backwards” when your hand is closer than 10cm and ‘hello’ if your hand is more than 20cm away from it.
Hint:
Regular:
< means less than
> means more than
Advanced: