#include <Servo.h>
int JoyWert;
Servo S;
void setup() {
Serial.begin(9600);
S.attach(13);
}
void loop() {
JoyWert = analogRead(A0);
Serial.print("|X: ");
Serial.print(JoyWert, DEC);
Serial.println();
S.write(JoyWert);
JoyWert = analogRead(1);
Serial.print("|Y: ");
Serial.print(JoyWert, DEC);
S.write(JoyWert);
}