switched the arduino code to use the ultrasonic sensor