浏览代码

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 年前
父节点
当前提交
5b270417ed
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6
    0
      Marlin/pins_MEGATRONICS_2.h

+ 6
- 0
Marlin/pins_MEGATRONICS_2.h 查看文件

131
 #define BTN_EN2            59
131
 #define BTN_EN2            59
132
 #define BTN_ENC            43
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
 // M3/M4/M5 - Spindle/Laser Control
141
 // M3/M4/M5 - Spindle/Laser Control
136
 //
142
 //

正在加载...
取消
保存