This code is for the Instructable: https://www.instructables.com/Comparing-LV-MaxSonar-EZ-and-HC-SR04-Sonar-Range-F/
The Instructable contains complete documentation and step-by-step for using, and comparing, the LV-MaxSonar and HC-SR04 sonar measurement devices.