From 677007f481678c096aef9d86dd38ad9ef516bfee Mon Sep 17 00:00:00 2001 From: "Earle F. Philhower, III" Date: Wed, 8 Jan 2020 20:30:44 -0800 Subject: [PATCH] Define MAX_SERVOS to 12, like original Servo.h (#6999) 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 6b19a477b..c9a381174 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)