Distance Sensor Preview
In this project you’ll use a distance sensor to measure distances and output that information to LEDs, an LCD, and to turn lights on and off.
What You’ll Learn
When you are finished with this project, you’ll be able to:
- Describe how an ultrasonic sensor works
- Know how to calculate distance using the input from a distance sensor
- Write code that uses a FOR loop