Browse files

Added Arduino Mega2560 support to arduino.h

Signed-off-by: plasmator <>
Signed-off-by: Michael Moon <>
  • Loading branch information...
1 parent 80e98e9 commit 0ab6e0bb6e6b32f977a9666d57cc4219b2f085ef plasmator committed with Jan 25, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 arduino.h
4 arduino.h
@@ -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.
#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

0 comments on commit 0ab6e0b

Please sign in to comment.