 
 // Ultrasonic Servo
 Servo ServoMotor;
-const uint8_t servoPin = 6;
-uint8_t servoPos = 90;
+const uint8_t servoPin = 10;
+uint8_t servoInitPos = 90;
 
 uint8_t servoLimitLeft = 10;
 uint8_t servoTiltLeft = 50;



// Ultrasonic Sensor
const uint8_t trigPin = 9;
const uint8_t echoPin = 10;
const uint16_t maxDistance = 300;

NewPing sonar(trigPin, echoPin, maxDistance);

long rangeLeft;
long rangeCenter;
long rangeRight;

// LED
const uint8_t ledPin = 11;

uint8_t servoTiltRight = 130;
uint8_t servoCenter = 90;

// IR obstacle detection
int obstaclePin = A1;



void setup()
