aboutsummaryrefslogtreecommitdiffstats
path: root/config/generic-ramps.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'config/generic-ramps.cfg')
-rw-r--r--config/generic-ramps.cfg41
1 files changed, 12 insertions, 29 deletions
diff --git a/config/generic-ramps.cfg b/config/generic-ramps.cfg
index 2ade14d0..4f96d597 100644
--- a/config/generic-ramps.cfg
+++ b/config/generic-ramps.cfg
@@ -83,33 +83,16 @@ max_accel: 3000
max_z_velocity: 5
max_z_accel: 100
-# "RepRapDiscount 2004 Smart Controller" type displays
-#[display]
-#lcd_type: hd44780
-#rs_pin: ar16
-#e_pin: ar17
-#d4_pin: ar23
-#d5_pin: ar25
-#d6_pin: ar27
-#d7_pin: ar29
-#encoder_pins: ^ar31, ^ar33
-#click_pin: ^!ar35
+# Common EXP1 / EXP2 (display) pins
+[board_pins]
+aliases:
+ # Common EXP1 header found on many "all-in-one" ramps clones
+ EXP1_1=ar37, EXP1_3=ar17, EXP1_5=ar23, EXP1_7=ar27, EXP1_9=<GND>,
+ EXP1_2=ar35, EXP1_4=ar16, EXP1_6=ar25, EXP1_8=ar29, EXP1_10=<5V>,
+ # EXP2 header
+ EXP2_1=ar50, EXP2_3=ar31, EXP2_5=ar33, EXP2_7=ar49, EXP2_9=<GND>,
+ EXP2_2=ar52, EXP2_4=ar53, EXP2_6=ar51, EXP2_8=ar41, EXP2_10=<RST>
+ # Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "spi"
+ # Note, some boards wire: EXP2_8=<RST>, EXP2_10=ar41
-# "RepRapDiscount 128x64 Full Graphic Smart Controller" type displays
-#[display]
-#lcd_type: st7920
-#cs_pin: ar16
-#sclk_pin: ar23
-#sid_pin: ar17
-#encoder_pins: ^ar31, ^ar33
-#click_pin: ^!ar35
-#kill_pin: ^!ar41
-
-# 128x64 Full Graphic Creality CR10 / ENDER 3 stockdisplay
-#[display]
-#lcd_type: st7920
-#cs_pin: ar27
-#sclk_pin: ar25
-#sid_pin: ar29
-#encoder_pins: ^ar23, ^ar17
-#click_pin: ^!ar35
+# See the sample-lcd.cfg file for definitions of common LCD displays.