Pi4J / pi4j-example-devices

Device support project for the TCA9548 (1x8 I2C switch)
10 stars 7 forks source link

Add HC-SR04 Ultrasonic Sensor Example #82

Closed dariuszzbyrad closed 1 week ago

dariuszzbyrad commented 1 week ago

This PR introduces an example application demonstrating how to interface with the HC-SR04 ultrasonic sensor using the Pi4J library on a Raspberry Pi. The application measures distances and displays the results in centimeters.

Details in the README.md file.

taartspi commented 1 week ago

Again. Thanks very much for adding this device. Tom