mirror of
git://soft.sys114.com/klipper
synced 2026-02-12 08:50:25 +09:00
config: Update several config files to use board aliases for lcd
Add a sample-lcd.cfg with the defintions for several common "reprap" style LCD displays that use the EXP1/EXP2 plugs. Update several config files to add EXP1/EXP2 board aliases. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
committed by
KevinOConnor
parent
bfbcb90751
commit
e817b85b78
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user