Hi,
I have a program that is for controlling 12 servo motors using Arduino Mega. First, I tried only 4 pins controlling 6 servos and was able to execute properly in board. But, when i tried using pins(5 to 12) as for controlling all 12 servos an error occurs at Arduino Simulator.
Unknown command: attach(10)
servoA.attach(10);
I tried different programs with more than 4 pins to use and still same error occurs. I also tried loading the program directly to board assuming the simulator is at fault but still it doesnt work.
Can anyone please tell me how to do it right? Any help would be much appreciated. Thank you!
Weis