https://embetronicx.com/tutorials/microcontrollers/lpc2148/ultrasonic-sensor-interfacing-with-lpc2148/
LPC2148 - Ultrasonic Sensor Interfacing