Переглянути джерело

Revert "Undesired behavior with endstops swapped"

This reverts commit 15028e9b08.
Natealus 10 роки тому
джерело
коміт
ca1477d830
1 змінених файлів з 39 додано та 14 видалено
  1. 39
    14
      Marlin/pins_AZTEEG_X3_PRO.h

+ 39
- 14
Marlin/pins_AZTEEG_X3_PRO.h Переглянути файл

@@ -16,21 +16,23 @@
16 16
 //
17 17
 //This section is to swap the MIN and MAX pins because the X3 Pro comes with only
18 18
 //MIN endstops soldered onto the board. Delta code wants the homing endstops to be 
19
-//the MAX so I swapped them here. UnComment the section below if you want this change.
19
+//the MAX so I swapped them here. Comment them out with // if you want them original.
20
+//Note: I had to solder on the additional MAX Endstop pins to attach a Z-Probe 
21
+//endstop switch.
20 22
 //
21
-//#undef X_MIN_PIN
22
-//#undef X_MAX_PIN
23
-//#undef Y_MIN_PIN
24
-//#undef Y_MAX_PIN
25
-//#undef Z_MIN_PIN
26
-//#undef Z_MAX_PIN
27
-//
28
-//#define X_MIN_PIN           2
29
-//#define X_MAX_PIN           3
30
-//#define Y_MIN_PIN          15
31
-//#define Y_MAX_PIN          14
32
-//#define Z_MIN_PIN          19
33
-//#define Z_MAX_PIN          18
23
+#undef X_MIN_PIN
24
+#undef X_MAX_PIN
25
+#undef Y_MIN_PIN
26
+#undef Y_MAX_PIN
27
+#undef Z_MIN_PIN
28
+#undef Z_MAX_PIN
29
+
30
+#define X_MIN_PIN           2
31
+#define X_MAX_PIN           3
32
+#define Y_MIN_PIN          15
33
+#define Y_MAX_PIN          14
34
+#define Z_MIN_PIN          19
35
+#define Z_MAX_PIN          18
34 36
 //
35 37
 
36 38
 #define E2_STEP_PIN        23
@@ -86,3 +88,26 @@
86 88
     #endif
87 89
   #endif
88 90
 #endif
91
+
92
+//LCD Pins//
93
+
94
+#if defined(VIKI2) || defined(miniVIKI)
95
+ #define BEEPER 33
96
+ // Pins for DOGM SPI LCD Support
97
+ #define DOGLCD_A0  44
98
+ #define DOGLCD_CS  45
99
+ #define LCD_SCREEN_ROT_180
100
+ 
101
+ //The encoder and click button
102
+ #define BTN_EN1 22
103
+ #define BTN_EN2 7
104
+ #define BTN_ENC 39  //the click switch
105
+
106
+ #define SDSS 53
107
+ #define SDCARDDETECT 49
108
+ 
109
+ #define KILL_PIN 31
110
+ 
111
+ #define STAT_LED_RED       32
112
+ #define STAT_LED_BLUE      35
113
+#endif

Завантаження…
Відмінити
Зберегти