This library will help you use your ultrasonic sensor in a more organized way. It will also let you get the actual distance.
c-arena / ultrasonica Goto Github PK
View Code? Open in Web Editor NEWUse your ultrasonic sensor and get the captured distance easily!