Obstacle avoidance robot with multiple sensors

Hello, I am making a robot that can avoid obstacles by using 2 ultrasonic sensors. How would someone code an arduino to calculate distance using 2 SR04's ?

Do this help?

AmateurArduinoGuy:
Hello, I am making a robot that can avoid obstacles by using 2 ultrasonic sensors. How would someone code an arduino to calculate distance using 2 SR04's ?

hello, I have same demand as you now, do you find the proper code of Obstacle Avoidance with the multi ultrasonic sensor?