Handheld Ultrasonic Rangefinder

Appendix A: Code listing

Click here to download the code.