use input capature to work with ultrasonic sensoe