Prusa MINI Firmware overview
pins_RAMPS4DUE.h
Go to the documentation of this file.
1 /**
2  * Marlin 3D Printer Firmware
3  * Copyright (c) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
4  *
5  * Based on Sprinter and grbl.
6  * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
7  *
8  * This program is free software: you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation, either version 3 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20  *
21  */
22 #pragma once
23 
24 /**
25  * Arduino Mega or Due with RAMPS4DUE pin assignments
26  *
27  * Applies to the following boards:
28  *
29  * RAMPS4DUE_EFB (Hotend, Fan, Bed)
30  * RAMPS4DUE_EEB (Hotend0, Hotend1, Bed)
31  * RAMPS4DUE_EFF (Hotend, Fan0, Fan1)
32  * RAMPS4DUE_EEF (Hotend0, Hotend1, Fan)
33  * RAMPS4DUE_SF (Spindle, Controller Fan)
34  *
35  * Differences between
36  * RAMPS_14 | RAMPS4DUE
37  * A13 | A9/D63 (shares the same pin with AUX2_4PIN)
38  * A14 | A10/D64 (shares the same pin with AUX2_5PIN)
39  * A15 | NC
40  */
41 
42 #if !defined(__SAM3X8E__) && !defined(__AVR_ATmega2560__)
43  #error "Oops! Select 'Arduino Due' or 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
44 #endif
45 
46 #define BOARD_INFO_NAME "RAMPS4DUE"
47 #define IS_RAMPS4DUE
48 
49 //
50 // Temperature Sensors
51 //
52 #define TEMP_0_PIN 9 // Analog Input
53 #define TEMP_1_PIN -1 // Analog Input
54 #define TEMP_BED_PIN 10 // Analog Input
55 
56 #include "../ramps/pins_RAMPS.h"