edward0429 / arduino

Automatically exported from code.google.com/p/arduino
0 stars 0 forks source link

Mega servo not working on mega2560 with more than 12 servos #524

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run Mega Servo library on mega2560 with more than 12 servos

What is the expected output? What do you see instead?
Only 12 servo's do work

What version of the Arduino software are you using? On what operating
system?  Which Arduino board are you using?
mega2560

Please provide any additional information below.

Problem is the 

#if defined(__AVR_ATmega1280__)

this must be
#if defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__)

it's used multiple times.
but I can't edit it, or don't know how on the arduino website

included the new mega servo files. these do work

Original issue reported on code.google.com by dj170...@gmail.com on 16 Apr 2011 at 9:34

Attachments:

GoogleCodeExporter commented 9 years ago
Have you tried the Servo library in Arduino 0022 (not the external MegaServo)?  
It should work properly on the Mega 2560 and Mega (w/ ATmega1280).

Original comment by dmel...@gmail.com on 17 Apr 2011 at 1:58