Browse Source

Added support for Anet LCD on Ramps board.

Working pin map for Anet LCD display.
Pins 1 and 2 must be swapped on cable.
Kris Kersey 7 years ago
parent
commit
46c2841904
3 changed files with 15 additions and 1 deletions
  1. 1
    0
      Marlin/Conditionals_LCD.h
  2. 0
    1
      Marlin/pins_ANET_10.h
  3. 14
    0
      Marlin/pins_RAMPS.h

+ 1
- 0
Marlin/Conditionals_LCD.h View File

53
     // this helps to implement ADC_KEYPAD menus
53
     // this helps to implement ADC_KEYPAD menus
54
     #define ENCODER_PULSES_PER_STEP 1
54
     #define ENCODER_PULSES_PER_STEP 1
55
     #define ENCODER_STEPS_PER_MENU_ITEM 1
55
     #define ENCODER_STEPS_PER_MENU_ITEM 1
56
+    #define ENCODER_FEEDRATE_DEADZONE 2
56
     #define REVERSE_MENU_DIRECTION
57
     #define REVERSE_MENU_DIRECTION
57
 
58
 
58
   #elif ENABLED(ANET_FULL_GRAPHICS_LCD)
59
   #elif ENABLED(ANET_FULL_GRAPHICS_LCD)

+ 0
- 1
Marlin/pins_ANET_10.h View File

166
     #define BTN_EN2          -1
166
     #define BTN_EN2          -1
167
     #define BTN_ENC          -1
167
     #define BTN_ENC          -1
168
     #define ADC_KEYPAD_PIN    1
168
     #define ADC_KEYPAD_PIN    1
169
-    #define ENCODER_FEEDRATE_DEADZONE 2
170
   #elif ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER) || ENABLED(ANET_FULL_GRAPHICS_LCD)
169
   #elif ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER) || ENABLED(ANET_FULL_GRAPHICS_LCD)
171
     // Pin definitions for the Anet A6 Full Graphics display and the RepRapDiscount Full Graphics
170
     // Pin definitions for the Anet A6 Full Graphics display and the RepRapDiscount Full Graphics
172
     // display using an adapter board  // https://go.aisler.net/benlye/anet-lcd-adapter/pcb
171
     // display using an adapter board  // https://go.aisler.net/benlye/anet-lcd-adapter/pcb

+ 14
- 0
Marlin/pins_RAMPS.h View File

483
   #endif // NEWPANEL
483
   #endif // NEWPANEL
484
 
484
 
485
 #endif // ULTRA_LCD
485
 #endif // ULTRA_LCD
486
+
487
+#if ENABLED(ANET_KEYPAD_LCD)
488
+  #define LCD_PINS_RS        64
489
+  #define LCD_PINS_ENABLE    44
490
+  #define LCD_PINS_D4        63
491
+  #define LCD_PINS_D5        40
492
+  #define LCD_PINS_D6        42
493
+  #define LCD_PINS_D7        65
494
+  #define ADC_KEYPAD_PIN     12
495
+  #define BTN_EN1            -1
496
+  #define BTN_EN2            -1
497
+  #define BTN_ENC            -1
498
+  // pin 29 N/C
499
+#endif // ANET_KEYPAD_LCD

Loading…
Cancel
Save