#include <Servo.h>
const int potPin1 = A0;
const int potPin2 = A1;
const int potPin3 = A2;
const int potPin4 = A3;
// Definir los pines de los servomotores
const int servoPin1 = 9;
const int servoPin2 = 10;
const int servoPin3 = 11;
const int servoPin4 = 12;
//Definir los pines de los botones
const int btnPin1 = 2;
const int btnPin2 = 3;
const int btnPin3 = 3;
const int btnPin4 = 4;
byte angle1;
byte angle2;
byte angle3;
byte angle4;
// Crear objetos Servo para cada servo
Servo servo1;
Servo servo2;
Servo servo3;
Servo servo4;
void setup() {
pinMode(btnPin1, INPUT);
pinMode(btnPin2, INPUT);
pinMode(btnPin2, INPUT);
pinMode(btnPin3, INPUT);
pinMode(btnPin4, INPUT);
servo1.attach(servoPin1);
servo2.attach(servoPin2);
servo3.attach(servoPin3);
servo4.attach(servoPin4);
}
void loop() {
// put your main code here, to run repeatedly:
}