full and proper 180
This commit is contained in:
parent
5fcb14ef67
commit
9a2039f04e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue