Merge pull request #8243 from Augustus22/kkersey/anet-lcd-ramps
[1.1] Add Anet Keypad LCD pins for RAMPS
This commit is contained in:
commit
4388719c5d
@ -53,6 +53,7 @@
|
|||||||
// this helps to implement ADC_KEYPAD menus
|
// this helps to implement ADC_KEYPAD menus
|
||||||
#define ENCODER_PULSES_PER_STEP 1
|
#define ENCODER_PULSES_PER_STEP 1
|
||||||
#define ENCODER_STEPS_PER_MENU_ITEM 1
|
#define ENCODER_STEPS_PER_MENU_ITEM 1
|
||||||
|
#define ENCODER_FEEDRATE_DEADZONE 2
|
||||||
#define REVERSE_MENU_DIRECTION
|
#define REVERSE_MENU_DIRECTION
|
||||||
|
|
||||||
#elif ENABLED(ANET_FULL_GRAPHICS_LCD)
|
#elif ENABLED(ANET_FULL_GRAPHICS_LCD)
|
||||||
|
@ -166,7 +166,6 @@
|
|||||||
#define BTN_EN2 -1
|
#define BTN_EN2 -1
|
||||||
#define BTN_ENC -1
|
#define BTN_ENC -1
|
||||||
#define ADC_KEYPAD_PIN 1
|
#define ADC_KEYPAD_PIN 1
|
||||||
#define ENCODER_FEEDRATE_DEADZONE 2
|
|
||||||
#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
|
||||||
|
@ -483,3 +483,17 @@
|
|||||||
#endif // NEWPANEL
|
#endif // NEWPANEL
|
||||||
|
|
||||||
#endif // ULTRA_LCD
|
#endif // ULTRA_LCD
|
||||||
|
|
||||||
|
#if ENABLED(ANET_KEYPAD_LCD)
|
||||||
|
#define LCD_PINS_RS 64
|
||||||
|
#define LCD_PINS_ENABLE 44
|
||||||
|
#define LCD_PINS_D4 63
|
||||||
|
#define LCD_PINS_D5 40
|
||||||
|
#define LCD_PINS_D6 42
|
||||||
|
#define LCD_PINS_D7 65
|
||||||
|
#define ADC_KEYPAD_PIN 12
|
||||||
|
#define BTN_EN1 -1
|
||||||
|
#define BTN_EN2 -1
|
||||||
|
#define BTN_ENC -1
|
||||||
|
// pin 29 N/C
|
||||||
|
#endif // ANET_KEYPAD_LCD
|
||||||
|
Loading…
Reference in New Issue
Block a user