We are makin Hc-sr04 distance tutorial with arduino
Download zip file (it is the library) and Arduino files on repository. we will import a .zip Library.
Do not unzip the downloaded library, leave it as is. Open the Arduino IDE, navigate to Sketch > Include Library > Add .ZIP Library. At the top of the drop down list, select the option to "Add .ZIP Library''. At the top of the drop down list, select the option to "Add .ZIP Library''.
You will be prompted to select the library you would like to add. Navigate to the .zip file's location and open it.
https://playground.arduino.cc/Code/NewPing/
GNU GENERAL PUBLIC LICENSE