full and proper 180

This commit is contained in:
ethan merchant 2024-03-25 11:50:03 -04:00
parent 5fcb14ef67
commit 9a2039f04e

View file

@ -235,7 +235,7 @@ void setup()
// for an accurate 0 to 180 sweep
for (int i = 0; i < 6; i++) {
servos[i].servo.setPeriodHertz(50);
servos[i].servo.attach(servos[i].pin, 1000, 2000);
servos[i].servo.attach(servos[i].pin, 500, 2500); // full 180
}
}