1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-29 23:07:42 +00:00

Optional ADC_KEYPAD pin with ANET_10 (#13158)

This commit is contained in:
7eggert 2019-02-14 03:50:11 +01:00 committed by Scott Lahteine
parent 01674c5c8d
commit 369d756b74

View File

@ -157,16 +157,17 @@
#define LCD_SDSS 28 #define LCD_SDSS 28
#if ENABLED(ADC_KEYPAD) #if ENABLED(ADC_KEYPAD)
#define SERVO0_PIN 27 // free for BLTouch/3D-Touch #define SERVO0_PIN 27 // free for BLTouch/3D-Touch
#ifndef LCD_I2C_TYPE_PCF8575
#define LCD_PINS_RS 28 #define LCD_PINS_RS 28
#define LCD_PINS_ENABLE 29 #define LCD_PINS_ENABLE 29
#define LCD_PINS_D4 10 #define LCD_PINS_D4 10
#define LCD_PINS_D5 11 #define LCD_PINS_D5 11
#define LCD_PINS_D6 16 #define LCD_PINS_D6 16
#define LCD_PINS_D7 17 #define LCD_PINS_D7 17
#define BTN_EN1 -1 #endif
#define BTN_EN2 -1 #ifndef ADC_KEYPAD_PIN
#define BTN_ENC -1 #define ADC_KEYPAD_PIN 1 // Analog Input
#define ADC_KEYPAD_PIN 1 #endif
#elif ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER) || ENABLED(ANET_FULL_GRAPHICS_LCD) #elif ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER) || ENABLED(ANET_FULL_GRAPHICS_LCD)
// Pin definitions for the Anet A6 Full Graphics display and the RepRapDiscount Full Graphics // Pin definitions for the Anet A6 Full Graphics display and the RepRapDiscount Full Graphics
// display using an adapter board // https://go.aisler.net/benlye/anet-lcd-adapter/pcb // display using an adapter board // https://go.aisler.net/benlye/anet-lcd-adapter/pcb