#include <Servo.h>
Servo servo1;
Servo servo2;

int servo1Angle = 0;
int servo2Angle = 0;
void setup() {
  // put your setup code here, to run once:
  servo1.attach(10);
  servo2.attach(9);
}

void loop() {
  // put your main code here, to run repeatedly:
  delay(1000);
  servo1Angle = random(0, 181);
  servo2Angle = random(0, 181);
  servo1.write(servo1Angle);
  servo2.write(servo2Angle);
}