|
@@ -19,13 +19,13 @@
|
19
|
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
20
|
20
|
*
|
21
|
21
|
*/
|
22
|
|
-
|
|
22
|
+
|
23
|
23
|
/**
|
24
|
|
- * Geeetech GT2560 Revision A board pin assignments, based on the work of
|
25
|
|
- * George Robles (https://georges3dprinters.com) and
|
|
24
|
+ * Geeetech GT2560 Revision A board pin assignments, based on the work of
|
|
25
|
+ * George Robles (https://georges3dprinters.com) and
|
26
|
26
|
* Richard Smith <galorin@gmail.com>
|
27
|
|
- */
|
28
|
|
-
|
|
27
|
+ */
|
|
28
|
+
|
29
|
29
|
#if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
|
30
|
30
|
#error "Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu."
|
31
|
31
|
#endif
|
|
@@ -96,7 +96,7 @@
|
96
|
96
|
|
97
|
97
|
#define BEEPER_PIN 18
|
98
|
98
|
|
99
|
|
- #if ENABLED(NEWPANEL)
|
|
99
|
+ #if ENABLED(NEWPANEL)
|
100
|
100
|
|
101
|
101
|
#define LCD_PINS_RS 20
|
102
|
102
|
#define LCD_PINS_ENABLE 17
|
|
@@ -109,7 +109,7 @@
|
109
|
109
|
#define BTN_EN1 42
|
110
|
110
|
#define BTN_EN2 40
|
111
|
111
|
#define BTN_ENC 19
|
112
|
|
-
|
|
112
|
+
|
113
|
113
|
#define SD_DETECT_PIN 38
|
114
|
114
|
|
115
|
115
|
#else // !NEWPANEL
|