#include <Servo.h>
Servo glum;
Servo blah;
void setup() {
glum.attach (10);
blah.attach (11);
Serial.begin(9600);
}
void loop() {
int x = analogRead(A1);
int y = analogRead(A0);
x = map(x, 0, 1021, 0, 180);
y = map(y, 0, 1021, 0, 180);
glum.write(x);
blah.write(y);
Serial.print(x);
Serial.print(" ");
Serial.print(y);
delay(10);
}