Skip to content

Commit cc26161

Browse files
committed
A Servo on each available ESP8266 GPIO (D0-D8), no observed interference.
1 parent 86caa07 commit cc26161

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/Servo/src/Servo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
#define DEFAULT_MAX_PULSE_WIDTH 2190 // the longest duty cycle sent to a servo
5151
#define DEFAULT_NEUTRAL_PULSE_WIDTH 1500 // default duty cycle when servo is attached
5252
#define REFRESH_INTERVAL 20000 // classic default period to refresh servos in microseconds
53-
#define MAX_SERVOS 12
53+
#define MAX_SERVOS 9 // D0-D8
5454

5555
#if !defined(ESP8266)
5656

0 commit comments

Comments
 (0)