mirror of
git://soft.sys114.com/klipper
synced 2026-02-12 11: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
@@ -134,9 +134,9 @@ max_z_accel: 100
|
||||
|
||||
#[tmc2130 stepper_x]
|
||||
#cs_pin: P1.17
|
||||
#spi_software_sclk_pin: P0.4
|
||||
#spi_software_mosi_pin: P4.28
|
||||
#spi_software_miso_pin: P0.5
|
||||
#spi_software_mosi_pin: P4.28
|
||||
#spi_software_sclk_pin: P0.4
|
||||
##diag1_pin: P1.29
|
||||
#microsteps: 16
|
||||
#run_current: 0.800
|
||||
@@ -145,9 +145,9 @@ max_z_accel: 100
|
||||
|
||||
#[tmc2130 stepper_y]
|
||||
#cs_pin: P1.15
|
||||
#spi_software_sclk_pin: P0.4
|
||||
#spi_software_mosi_pin: P4.28
|
||||
#spi_software_miso_pin: P0.5
|
||||
#spi_software_mosi_pin: P4.28
|
||||
#spi_software_sclk_pin: P0.4
|
||||
##diag1_pin: P1.27
|
||||
#microsteps: 16
|
||||
#run_current: 0.800
|
||||
@@ -156,9 +156,9 @@ max_z_accel: 100
|
||||
|
||||
#[tmc2130 stepper_z]
|
||||
#cs_pin: P1.10
|
||||
#spi_software_sclk_pin: P0.4
|
||||
#spi_software_mosi_pin: P4.28
|
||||
#spi_software_miso_pin: P0.5
|
||||
#spi_software_mosi_pin: P4.28
|
||||
#spi_software_sclk_pin: P0.4
|
||||
##diag1_pin: P1.25
|
||||
#microsteps: 16
|
||||
#run_current: 0.650
|
||||
@@ -167,9 +167,9 @@ max_z_accel: 100
|
||||
|
||||
#[tmc2130 extruder]
|
||||
#cs_pin: P1.8
|
||||
#spi_software_sclk_pin: P0.4
|
||||
#spi_software_mosi_pin: P4.28
|
||||
#spi_software_miso_pin: P0.5
|
||||
#spi_software_mosi_pin: P4.28
|
||||
#spi_software_sclk_pin: P0.4
|
||||
##diag1_pin: P1.28
|
||||
#microsteps: 16
|
||||
#run_current: 0.800
|
||||
@@ -178,9 +178,9 @@ max_z_accel: 100
|
||||
|
||||
#[tmc2130 extruder1]
|
||||
#cs_pin: P1.1
|
||||
#spi_software_sclk_pin: P0.4
|
||||
#spi_software_mosi_pin: P4.28
|
||||
#spi_software_miso_pin: P0.5
|
||||
#spi_software_mosi_pin: P4.28
|
||||
#spi_software_sclk_pin: P0.4
|
||||
##diag1_pin: P1.26
|
||||
#microsteps: 16
|
||||
#run_current: 0.800
|
||||
@@ -189,63 +189,17 @@ max_z_accel: 100
|
||||
|
||||
|
||||
########################################
|
||||
# Optional LCD configuration
|
||||
# EXP1 / EXP2 (display) pins
|
||||
########################################
|
||||
|
||||
# "RepRapDiscount 128x64 Full Graphic Smart Controller" type displays
|
||||
#[display]
|
||||
#lcd_type: st7920
|
||||
#cs_pin: P1.19
|
||||
#sclk_pin: P1.20
|
||||
#sid_pin: P1.18
|
||||
#encoder_pins: ^P3.26, ^P3.25
|
||||
#click_pin: ^!P0.28
|
||||
#
|
||||
#[output_pin beeper]
|
||||
#pin: P1.30
|
||||
[board_pins]
|
||||
aliases:
|
||||
# EXP1 header
|
||||
EXP1_1=P1.30, EXP1_3=P1.18, EXP1_5=P1.20, EXP1_7=P1.22, EXP1_9=<GND>,
|
||||
EXP1_2=P0.28, EXP1_4=P1.19, EXP1_6=P1.21, EXP1_8=P1.23, EXP1_10=<5V>,
|
||||
# EXP2 header
|
||||
EXP2_1=P0.17, EXP2_3=P3.26, EXP2_5=P3.25, EXP2_7=P1.31, EXP2_9=<GND>,
|
||||
EXP2_2=P0.15, EXP2_4=P0.16, EXP2_6=P0.18, EXP2_8=<RST>, EXP2_10=<NC>
|
||||
# Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "ssp0"
|
||||
|
||||
# "RepRapDiscount 2004 Smart Controller" type displays
|
||||
#[display]
|
||||
#lcd_type: hd44780
|
||||
#rs_pin: P1.19
|
||||
#e_pin: P1.18
|
||||
#d4_pin: P1.20
|
||||
#d5_pin: P1.21
|
||||
#d6_pin: P1.22
|
||||
#d7_pin: P1.23
|
||||
#encoder_pins: ^P3.26, ^P3.25
|
||||
#click_pin: ^!P0.28
|
||||
#
|
||||
#[output_pin beeper]
|
||||
#pin: P1.30
|
||||
|
||||
# 128x64 Full Graphic Creality CR10 / ENDER 3 stockdisplay
|
||||
#[display]
|
||||
#lcd_type: st7920
|
||||
#cs_pin: P1.19
|
||||
#sclk_pin: P1.21
|
||||
#sid_pin: P1.23
|
||||
#encoder_pins: ^P1.18, ^P1.20
|
||||
#click_pin: !P0.28
|
||||
#
|
||||
#[output_pin beeper]
|
||||
#pin: P1.30
|
||||
|
||||
# MKS Mini 12864 LCD.
|
||||
# Make sure that the EXP1 and EXP2 are rotated correctly on the
|
||||
# display board. The cutouts on the connectors should be towards the
|
||||
# center of the PCB. See:
|
||||
# https://reprap.org/wiki/MKS_MINI_12864#Physical_Interface
|
||||
# If they are wrong, the connector housing can be pried off carefully
|
||||
# with a small screwdriver and relocated the correct way.
|
||||
#
|
||||
#[display]
|
||||
#lcd_type: uc1701
|
||||
#cs_pin: P1.21
|
||||
#a0_pin: P1.22
|
||||
#contrast: 40
|
||||
#encoder_pins: ^P3.25, ^P3.26
|
||||
#click_pin: ^!P0.28
|
||||
#
|
||||
#[output_pin beeper]
|
||||
#pin: P1.30
|
||||
# See the sample-lcd.cfg file for definitions of common LCD displays.
|
||||
|
||||
Reference in New Issue
Block a user