mirror of
https://github.com/YikeStone/ros_arduino_bridge.git
synced 2025-08-03 19:24:09 +05:30
changed default sweep delay to zero so that servos will behave normally unless delay is increased
This commit is contained in:
parent
ddecaa0b2c
commit
eda206f68c
@ -8,7 +8,7 @@
|
|||||||
// between each one degree step the servo travels. Increasing
|
// between each one degree step the servo travels. Increasing
|
||||||
// this number will make the servo sweep more slowly.
|
// this number will make the servo sweep more slowly.
|
||||||
// Decreasing this number will make the servo sweep more quickly.
|
// Decreasing this number will make the servo sweep more quickly.
|
||||||
#define SWEEP_COMMAND_INTERVAL 150 // ms
|
#define SWEEP_COMMAND_INTERVAL 0 // ms
|
||||||
|
|
||||||
byte servoPins [N_SERVOS] = { 3 };
|
byte servoPins [N_SERVOS] = { 3 };
|
||||||
byte servoInitPosition [N_SERVOS] = { 90 }; // degrees
|
byte servoInitPosition [N_SERVOS] = { 90 }; // degrees
|
||||||
|
Loading…
x
Reference in New Issue
Block a user