config: Pin logic on MKS SGEN L generic config (#2606)

Correct TMC2130 diag1_pin logic - the diag1_pin logic should be inverted and pulled up.

Use pullup for endstops - pullups should be used here.

Signed-off-by: Wen-Jeng Hsiao <isuperwilly@gmail.com>
This commit is contained in:
Willy Hsiao 2020-03-09 02:36:09 +08:00 committed by GitHub
parent b3cfe55b39
commit 7fb7f0d331
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 8 deletions

View File

@ -8,7 +8,7 @@ step_pin: P2.2
dir_pin: !P2.3
enable_pin: !P2.1
step_distance: .0125
endstop_pin: P1.29 # P1.28 for X-max
endstop_pin: ^P1.29 # ^P1.28 for X-max
position_endstop: 0
position_max: 320
homing_speed: 50
@ -18,7 +18,7 @@ step_pin: P0.19
dir_pin: !P0.20
enable_pin: !P2.8
step_distance: .0125
endstop_pin: P1.27 # P1.26 for Y-max
endstop_pin: ^P1.27 # ^P1.26 for Y-max
position_endstop: 0
position_max: 300
homing_speed: 50
@ -28,7 +28,7 @@ step_pin: P0.22
dir_pin: P2.11
enable_pin: !P0.21
step_distance: .0025
endstop_pin: P1.25 # P1.24 for Z-max
endstop_pin: ^P1.25 # ^P1.24 for Z-max
position_endstop: 0.5
position_max: 400
@ -128,7 +128,7 @@ max_z_accel: 100
#spi_software_miso_pin: P0.5
#spi_software_mosi_pin: P4.28
#spi_software_sclk_pin: P0.4
##diag1_pin: P1.29
##diag1_pin: ^!P1.29
#microsteps: 16
#run_current: 0.800
#hold_current: 0.500
@ -139,7 +139,7 @@ max_z_accel: 100
#spi_software_miso_pin: P0.5
#spi_software_mosi_pin: P4.28
#spi_software_sclk_pin: P0.4
##diag1_pin: P1.27
##diag1_pin: ^!P1.27
#microsteps: 16
#run_current: 0.800
#hold_current: 0.500
@ -150,7 +150,7 @@ max_z_accel: 100
#spi_software_miso_pin: P0.5
#spi_software_mosi_pin: P4.28
#spi_software_sclk_pin: P0.4
##diag1_pin: P1.25
##diag1_pin: ^!P1.25
#microsteps: 16
#run_current: 0.650
#hold_current: 0.450
@ -161,7 +161,7 @@ max_z_accel: 100
#spi_software_miso_pin: P0.5
#spi_software_mosi_pin: P4.28
#spi_software_sclk_pin: P0.4
##diag1_pin: P1.28
##diag1_pin: ^!P1.28
#microsteps: 16
#run_current: 0.800
#hold_current: 0.500
@ -172,7 +172,7 @@ max_z_accel: 100
#spi_software_miso_pin: P0.5
#spi_software_mosi_pin: P4.28
#spi_software_sclk_pin: P0.4
##diag1_pin: P1.26
##diag1_pin: ^!P1.26
#microsteps: 16
#run_current: 0.800
#hold_current: 0.500