Go Down

Topic: Arduino Mega + Ethernet Shield + Servo library, pin compatibility? (Read 758 times) previous topic - next topic

macharborguy

Quick question, and I have searched around for an answer but havent seen anything obvious.

I am getting an Arduino Mega and plan to use my current Ethernet Shield with it in addition to controlling 1-3 servos using the Servo library.

I know the Ethernet Shield uses pins 4 (for sd card), 10, 11, 12, 13.

The Servo library page says that PWM outputs are unaffected unless there are 12+ servos, in which case pins 11 and 12 will have disabled PWM output.

so if I just use 3 servos, there shouldn't be any interference with the Ethernet shield?

Go Up