summaryrefslogtreecommitdiff
path: root/Sprinter/pins.h
diff options
context:
space:
mode:
Diffstat (limited to 'Sprinter/pins.h')
-rw-r--r--Sprinter/pins.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/Sprinter/pins.h b/Sprinter/pins.h
index 3cc92dc..fd9995d 100644
--- a/Sprinter/pins.h
+++ b/Sprinter/pins.h
@@ -57,6 +57,7 @@
#define FAN_PIN -1
#define PS_ON_PIN 15
#define KILL_PIN -1
+#define ALARM_PIN -1
#define HEATER_0_PIN 6
#define TEMP_0_PIN 0 // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!!
@@ -130,6 +131,7 @@
#define FAN_PIN -1
#define PS_ON_PIN -1
#define KILL_PIN -1
+#define ALARM_PIN -1
#define HEATER_0_PIN 14
#define TEMP_0_PIN 4 //D27 // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!!
@@ -191,6 +193,7 @@
#define FAN_PIN -1
#define KILL_PIN -1
+#define ALARM_PIN -1
#define HEATER_0_PIN -1
#define TEMP_0_PIN -1 // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!!
@@ -379,12 +382,13 @@
#define FAN_PIN 9
#define PS_ON_PIN 12
#define KILL_PIN -1
+#define ALARM_PIN -1
#define HEATER_0_PIN 10
#define HEATER_1_PIN 8
#define TEMP_0_PIN 13 // ANALOG NUMBERING
#define TEMP_1_PIN 14 // ANALOG NUMBERING
-
+#define TEMP_2_PIN 15 // ANALOG NUMBERING
#else // RAMPS_V_1_1 or RAMPS_V_1_2 as default
@@ -415,7 +419,7 @@
#define LED_PIN 13
#define PS_ON_PIN -1
#define KILL_PIN -1
-
+#define ALARM_PIN -1
#ifdef RAMPS_V_1_0 // RAMPS_V_1_0
@@ -486,6 +490,7 @@
#define FAN_PIN 5
#define PS_ON_PIN -1
#define KILL_PIN -1
+#define ALARM_PIN -1
#define HEATER_0_PIN 6
#define TEMP_0_PIN 0 // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!!
@@ -587,6 +592,7 @@
#define PS_ON_PIN -1
#define KILL_PIN -1
+#define ALARM_PIN -1
#define HEATER_0_PIN 13 // (extruder)
@@ -619,4 +625,7 @@
#endif
+//List of pins which to ignore when asked to change by gcode, 0 and 1 are RX and TX, do not mess with those!
+const int sensitive_pins[] = {0, 1, X_STEP_PIN, X_DIR_PIN, X_ENABLE_PIN, X_MIN_PIN, X_MAX_PIN, Y_STEP_PIN, Y_DIR_PIN, Y_ENABLE_PIN, Y_MIN_PIN, Y_MAX_PIN, Z_STEP_PIN, Z_DIR_PIN, Z_ENABLE_PIN, Z_MIN_PIN, Z_MAX_PIN, E_STEP_PIN, E_DIR_PIN, E_ENABLE_PIN, LED_PIN, PS_ON_PIN, HEATER_0_PIN, HEATER_1_PIN, FAN_PIN, TEMP_0_PIN, TEMP_1_PIN};
+
#endif