Home 2018 › Forums › Crumble › Support › How to use the HC-SR04 distance sensor
Tagged: distance, hc-sr04, ultrasonic
This topic contains 0 replies, has 1 voice, and was last updated by Mike 2 years ago.
Connect the sensor as shown. Use the code as shown to get a value from the sensor and save it into a variable. This allows you to watch the value as the program runs.
You must be logged in to reply to this topic.