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.
2 parents 2558771 + 7877e2b commit fe4ee1dCopy full SHA for fe4ee1d
src/megaavr/Servo.cpp
@@ -23,6 +23,9 @@ static volatile int8_t currentServoIndex[_Nbr_16timers]; // index for the serv
23
#define SERVO_MIN() (MIN_PULSE_WIDTH - this->min * 4) // minimum value in uS for this servo
24
#define SERVO_MAX() (MAX_PULSE_WIDTH - this->max * 4) // maximum value in uS for this servo
25
26
+#undef REFRESH_INTERVAL
27
+#define REFRESH_INTERVAL 16000
28
+
29
void ServoHandler(int timer)
30
{
31
if (currentServoIndex[timer] < 0) {
0 commit comments