Skip to content
SensorsArduinoESP32

NewPing

by Tim Eckel

Fast, accurate distance readings from HC-SR04 and similar ultrasonic sensors.

View on GitHub

Install

Open Sketch → Include Library → Manage Libraries…, search for NewPing, and click Install.

Example Code

cpp

Go Further

More Sensors