NewPing and Servo are Libraries. Please make sure your Arduino IDE have NewPing and Sevo library installed. ##Ultrasonic sensor need 10us pwm signal to activate in "Trig" pin ## ##PWM pulse width in Servo Sig pin:(1 ms ---> servo 0 degree), (1.5 ms ---> servo 90 degree), (2 ms ---> servo 180 degree) ## Code## drive.google.com/file/d/129Kv4CykKF4vOW0g3ASu7I7BrIRsRY4c/view?usp=sharing