Is it possible to control 12 servo's on Leonardo?

I am interested in building 4 legged robot with 12 servos on it. So my question is: "Can I do this without additional servo controller on 13 digital pins?"

The RTFM says

The Servo library supports up to 12 motors on most Arduino boards and 48 on the Arduino Mega.

Write a short program with 12 servos and see does it compile?


I first need to know if it workds and then I will buy servos. Dont want to waste money.

Hi T344, welcome.

If you ask questions, and get answers, read those answers carefully. You either didn't read carefully, or didn't understand what was told.

Robin2 never said you need to build your robot first and then try to write some program to control it. Re-read his answer and try to see if there is anything in there you now would understand. Hint: you don't even need to have an actual Leonardo (or any other Arduino) at hand for this.

Ups, sorry. My mistake.