#include "Servo.h"
Servo servo1;
Servo servo2;
void setup() {
// put your setup code here, to run once:
servo1.attach(5);
servo2.attach(3);
}
void loop() {
// put your main code here, to run repeatedly:
int A=analogRead(A5);
A=map(A,0,1023,0,180);
servo1.write(A);
int B=analogRead(A4);
B=map(B,0,1023,0,180);
servo2.write(B);
}