#include <Servo.h>

#define servo1pin 9
#define servo2pin 10
#define servo3pin 11
#define servoStartPosition 90

int PosHor;
int PosVer;
bool Push = 0;

Servo servo1, servo2, servo3;

void setup() {
  // put your setup code here, to run once:
  servo1.attach(servo1pin);
  servo2.attach(servo2pin);
  servo3.attach(servo3pin);
  Serial.begin(9600);
}

void loop() {
  // put your main code here, to run repeatedly:
PosHor = analogRead(A0);
Serial.print("Horizontal position: ");
Serial.println(PosHor);
PosVer = analogRead(A1);
Serial.print("Vertical position: ");
Serial.println(PosVer);
Push = digitalRead(2);
Serial.print("Button pushed: ");
Serial.println(Push);
delay(500);
}
$abcdeabcde151015202530fghijfghij