Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added Arduino Mega2560 support to arduino.h

Signed-off-by: plasmator <public@plasmatoruniversi.com>
Signed-off-by: Michael Moon <triffid.hunter@gmail.com>
  • Loading branch information...
commit 0ab6e0bb6e6b32f977a9666d57cc4219b2f085ef 1 parent 80e98e9
plasmator authored committed
Showing with 4 additions and 0 deletions.
  1. +4 −0 arduino.h
View
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.
+#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
Please sign in to comment.
Something went wrong with that request. Please try again.