Przeglądaj źródła

added shift register pins for reprapworld keypad v1.1

I recently upgraded my Marlin to V1.1.x and decided to publish my fix to make marlin compile properly when #define board megatronics 2 in combination with #define reprapworld keypad v1.1. It was previously described in the comments of a closed pull request. MarlinFirmware#472. All the buttons on the keypad are now operational.
Diederik van der Pant 8 lat temu
rodzic
commit
5b270417ed
1 zmienionych plików z 6 dodań i 0 usunięć
  1. 6
    0
      Marlin/pins_MEGATRONICS_2.h

+ 6
- 0
Marlin/pins_MEGATRONICS_2.h Wyświetl plik

@@ -131,6 +131,12 @@
131 131
 #define BTN_EN2            59
132 132
 #define BTN_ENC            43
133 133
 
134
+// Buttons that are attached using shift register of reprapworld keypad  v1.1
135
+#define SHIFT_CLK 63
136
+#define SHIFT_LD 42
137
+#define SHIFT_OUT 17
138
+#define SHIFT_EN 17
139
+
134 140
 //
135 141
 // M3/M4/M5 - Spindle/Laser Control
136 142
 //

Ładowanie…
Anuluj
Zapisz