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.
This commit is contained in:
Diederik van der Pant 2017-06-09 14:17:47 +02:00 committed by GitHub
parent f7dacd1f50
commit 5b270417ed

View File

@ -131,6 +131,12 @@
#define BTN_EN2 59
#define BTN_ENC 43
// Buttons that are attached using shift register of reprapworld keypad v1.1
#define SHIFT_CLK 63
#define SHIFT_LD 42
#define SHIFT_OUT 17
#define SHIFT_EN 17
//
// M3/M4/M5 - Spindle/Laser Control
//