Arduino Forum

Using Arduino => Microcontrollers => Topic started by: macharborguy on May 25, 2012, 08:27 pm

Title: Arduino Mega + Ethernet Shield + Servo library, pin compatibility?
Post by: macharborguy on May 25, 2012, 08:27 pm
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?