We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65c22a8 commit 430c27fCopy full SHA for 430c27f
src/Servo.h
@@ -83,8 +83,9 @@
83
#define MAX_PULSE_WIDTH 2400 // the longest pulse sent to a servo
84
#define DEFAULT_PULSE_WIDTH 1500 // default pulse width when servo is attached
85
#define REFRESH_INTERVAL 20000 // minimum time to refresh servos in microseconds
86
-//1/0.02s = 50Hz
87
-//1/333Hz = 0.003003s * 1000000µs = 3003µs for a refesh rate
+ //20000µs/1000000µs = 0.02s
+ //1/0.02s = 50Hz
88
+ //1/333Hz = 0.003003s * 1000000µs = 3003µs for a refesh rate
89
90
#define SERVOS_PER_TIMER 12 // the maximum number of servos controlled by one timer
91
#define MAX_SERVOS (_Nbr_16timers * SERVOS_PER_TIMER)
0 commit comments