Created
August 26, 2016 10:40
-
-
Save erikkallen/584dd986a4e3d93265bb3ca3c60ec8e3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Marlin/pins_SANGUINOLOLU_11.h b/Marlin/pins_SANGUINOLOLU_11.h | |
index a6220c5..a591f81 100644 | |
--- a/Marlin/pins_SANGUINOLOLU_11.h | |
+++ b/Marlin/pins_SANGUINOLOLU_11.h | |
@@ -54,7 +54,7 @@ | |
#endif | |
#if IS_MELZI | |
- #define LED_PIN 27 // On some broken versions of the Sanguino libraries the pin definitions are wrong, so LED_PIN needs to be 28. But you should upgrade your Sanguino libraries! See #368. | |
+ #define LED_PIN -1//27 // On some broken versions of the Sanguino libraries the pin definitions are wrong, so LED_PIN needs to be 28. But you should upgrade your Sanguino libraries! See #368. | |
#elif MB(STB_11) | |
#define LCD_PIN_BL 17 // LCD backlight LED | |
#endif | |
@@ -189,3 +189,31 @@ | |
#define SD_DETECT_PIN -1 | |
#endif // MAKRPANEL | |
+ | |
+#if ENABLED(ADC_5KEYS) | |
+ | |
+ #undef LCD_PINS_RS | |
+ #undef LCD_PINS_ENABLE | |
+ #undef LCD_PINS_D4 | |
+ #undef LCD_PINS_D5 | |
+ #undef LCD_PINS_D6 | |
+ #undef LCD_PINS_D7 | |
+ | |
+ #undef BTN_EN1 | |
+ #undef BTN_EN2 | |
+ #undef BTN_ENC | |
+ #undef LCD_SDSS | |
+ | |
+ #define LCD_PINS_RS 28 | |
+ #define LCD_PINS_ENABLE 29 | |
+ #define LCD_PINS_D4 10 | |
+ #define LCD_PINS_D5 11 | |
+ #define LCD_PINS_D6 16 | |
+ #define LCD_PINS_D7 17 | |
+ | |
+ #define BTN_ENC 30 | |
+ #define LCD_SDSS -1 | |
+ #define BTN_EN1 -1 | |
+ #define BTN_EN2 -1 | |
+ | |
+#endif // ADC_5KEYS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment