main fuction of the srf02 ultrasonic sensor project