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:
parent
80e98e9b22
commit
0ab6e0bb6e
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue