#include <Servo.h>;
int x;
int y;
int g;
int h;
Servo m;
Servo mot;
void setup() {
Serial.begin(9600); // put your setup code here, to run once:
m.attach(3);
mot.attach(4);
}
void loop() {
x=analogRead(A0);
g=map(x,0,1023,0,180);
m.write(g);
delay(500);
y=analogRead(A1);
h=map(y,0,1023,0,180);
mot.write(h);
delay(500);
}