Browse Source

Use X/Y/Z_MAX_PIN instead of X/Y/Z_MIN_PIN for top endstops on deltabot.

Johann Rocholl 12 years ago
parent
commit
2292441f0c
1 changed files with 9 additions and 9 deletions
  1. 9
    9
      Marlin/pins.h

+ 9
- 9
Marlin/pins.h View File

335
 #define X_STEP_PIN         54
335
 #define X_STEP_PIN         54
336
 #define X_DIR_PIN          55
336
 #define X_DIR_PIN          55
337
 #define X_ENABLE_PIN       38
337
 #define X_ENABLE_PIN       38
338
-#define X_MIN_PIN           3
338
+#define X_MIN_PIN          -1
339
 #define X_MAX_PIN           2   //2 //Max endstops default to disabled "-1", set to commented value to enable.
339
 #define X_MAX_PIN           2   //2 //Max endstops default to disabled "-1", set to commented value to enable.
340
 
340
 
341
 #define Y_STEP_PIN         60
341
 #define Y_STEP_PIN         60
342
 #define Y_DIR_PIN          61
342
 #define Y_DIR_PIN          61
343
 #define Y_ENABLE_PIN       56
343
 #define Y_ENABLE_PIN       56
344
-#define Y_MIN_PIN          14
344
+#define Y_MIN_PIN          -1
345
 #define Y_MAX_PIN          15   //15
345
 #define Y_MAX_PIN          15   //15
346
 
346
 
347
 #define Z_STEP_PIN         46
347
 #define Z_STEP_PIN         46
348
 #define Z_DIR_PIN          48
348
 #define Z_DIR_PIN          48
349
 #define Z_ENABLE_PIN       62
349
 #define Z_ENABLE_PIN       62
350
-#define Z_MIN_PIN          18
350
+#define Z_MIN_PIN          -1
351
 #define Z_MAX_PIN          19
351
 #define Z_MAX_PIN          19
352
 
352
 
353
 #define Z2_STEP_PIN        36
353
 #define Z2_STEP_PIN        36
1041
 #define X_STEP_PIN         27
1041
 #define X_STEP_PIN         27
1042
 #define X_DIR_PIN          29
1042
 #define X_DIR_PIN          29
1043
 #define X_ENABLE_PIN       28
1043
 #define X_ENABLE_PIN       28
1044
-#define X_MIN_PIN           7
1045
-#define X_MAX_PIN          -1
1044
+#define X_MIN_PIN          -1
1045
+#define X_MAX_PIN           7
1046
 #define X_ATT_PIN          26
1046
 #define X_ATT_PIN          26
1047
 
1047
 
1048
 #define Y_STEP_PIN         31
1048
 #define Y_STEP_PIN         31
1049
 #define Y_DIR_PIN          33
1049
 #define Y_DIR_PIN          33
1050
 #define Y_ENABLE_PIN       32
1050
 #define Y_ENABLE_PIN       32
1051
-#define Y_MIN_PIN           6
1052
-#define Y_MAX_PIN          -1
1051
+#define Y_MIN_PIN          -1
1052
+#define Y_MAX_PIN           6
1053
 #define Y_ATT_PIN          30
1053
 #define Y_ATT_PIN          30
1054
 
1054
 
1055
 #define Z_STEP_PIN         17
1055
 #define Z_STEP_PIN         17
1056
 #define Z_DIR_PIN          19
1056
 #define Z_DIR_PIN          19
1057
 #define Z_ENABLE_PIN       18
1057
 #define Z_ENABLE_PIN       18
1058
-#define Z_MIN_PIN           5
1059
-#define Z_MAX_PIN          -1
1058
+#define Z_MIN_PIN          -1
1059
+#define Z_MAX_PIN           5
1060
 #define Z_ATT_PIN          16
1060
 #define Z_ATT_PIN          16
1061
 
1061
 
1062
 #define E0_STEP_PIN        21
1062
 #define E0_STEP_PIN        21

Loading…
Cancel
Save