HC-SR04 Ultrasonic Sensor for P2

Measure distance up to 4m using the HC-SR04 ultrasonic sensor

Share this object
<

Overview

Content

Object and demo code for the HC-SR04 ultrasonic sensor. Measures return pulse with a P2 smart pin (P_HIGH_TICKS mode). Methods in the object allow the user to return distance in microseconds, centimeters, or inches.


Downloads  
Zip archive download

Leave a Reply