       delay(50);
       }
   }
+
+  panTilt.begin();
 
   Serial.println(F("setup starting..."));
   mSwitch.ledState(1);


int getMarkovSpeed(int oldSpeed){
  int probability = random(101);
  int lowVal = 1;
  int midVal = 2;
  int hiVal = 3;

  if(oldSpeed == lowVal){
    if(probability < 60){

//X Position: lower numbers == Right
//Y Position: lower numbers == Up

panTiltPos_t panTiltX(0, 50, 120, -30);
panTiltPos_t panTiltY(0, 7, 45, 0, 10);


PanTilt panTilt(SERVO_X_PIN, &panTiltX, SERVO_Y_PIN, &panTiltY, 98);
