From d89798d2a0b38ab66231d2d2ed4364d88b6154b2 Mon Sep 17 00:00:00 2001 From: "Earle F. Philhower, III" Date: Tue, 7 Jan 2020 15:42:02 -0800 Subject: [PATCH] Define MAX_SERVOS to 12, like original Servo.h Fixes #6997 --- libraries/Servo/src/Servo.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/Servo/src/Servo.h b/libraries/Servo/src/Servo.h index 6b19a477bd..c9a3811744 100644 --- a/libraries/Servo/src/Servo.h +++ b/libraries/Servo/src/Servo.h @@ -50,6 +50,7 @@ #define MAX_PULSE_WIDTH 2400 // the longest pulse sent to a servo #define DEFAULT_PULSE_WIDTH 1500 // default pulse width when servo is attached #define REFRESH_INTERVAL 20000 // minumim time to refresh servos in microseconds +#define MAX_SERVOS 12 #if !defined(ESP8266)