Added Arduino Mega2560 support to arduino.h

Signed-off-by: plasmator <public@plasmatoruniversi.com>
Signed-off-by: Michael Moon <triffid.hunter@gmail.com>
This commit is contained in:
plasmator 2011-01-25 22:57:23 -06:00 committed by Michael Moon
parent 80e98e9b22
commit 0ab6e0bb6e
1 changed files with 4 additions and 0 deletions

View File

@ -57,6 +57,10 @@
#include "arduino_1280.h"
#endif /* __AVR_ATmega1280__ */
#if defined (__AVR_ATmega2560__)
#include "arduino_1280.h" //2560 has the same pins and ports so we can reuse the 1280 file.
#endif
#ifndef DIO0_PIN
#error pins for this chip not defined in arduino.h! If you write an appropriate pin definition and have this firmware work on your chip, please tell us via the forum thread
#endif