From 3e184f03ad65f1c01c9d9df747e8086ad1506795 Mon Sep 17 00:00:00 2001 From: Thomas Schmid Date: Thu, 6 Jan 2022 12:57:08 +0100 Subject: [PATCH] printer.cfg: refactor Clean up some comments and reorder file Signed-off-by: Thomas Schmid --- printer.cfg | 74 +++-------------------------------------------------- 1 file changed, 4 insertions(+), 70 deletions(-) diff --git a/printer.cfg b/printer.cfg index cb1d6d0..a1af20f 100644 --- a/printer.cfg +++ b/printer.cfg @@ -267,22 +267,10 @@ heater_pin: PA2 ## See https://www.klipper3d.org/Config_Reference.html#common-thermistors for additional options sensor_type: MAX31865 sensor_pin: PF8 -# The chip select line for the sensor chip. This parameter must be -# provided. spi_speed: 2000000 -# The SPI speed (in hz) to use when communicating with the chip. -# The default is 4000000. spi_software_sclk_pin: EXP2_2 spi_software_mosi_pin: EXP2_6 spi_software_miso_pin: EXP2_1 -# See the "common SPI settings" section for a description of the -# above parameters. -#tc_type: K -#tc_use_50Hz_filter: False -#tc_averaging_count: 1 -# The above parameters control the sensor parameters of MAX31856 -# chips. The defaults for each parameter are next to the parameter -# name in the above list. rtd_nominal_r: 100 rtd_reference_r: 430 rtd_num_of_wires: 4 @@ -326,7 +314,6 @@ sensor_type: Generic 3950 sensor_pin: PF3 ## Adjust Max Power so your heater doesn't warp your bed. Rule of thumb is 0.4 watts / cm^2 . max_power: 0.6 -# tba: test --> 0 min_temp: 0 max_temp: 120 #control: pid @@ -421,58 +408,19 @@ fan_speed: 1.0 timeout: 1800 [safe_z_home] -## XY Location of the Z Endstop Switch -## Update -10,-10 to the XY coordinates of your endstop pin -## (such as 157,305) after going through Z Endstop Pin -## Location Definition step. home_xy_position: 232.45, 358 speed:100 z_hop:10 [quad_gantry_level] -## Use QUAD_GANTRY_LEVEL to level a gantry. -## Min & Max gantry corners - measure from nozzle at MIN (0,0) and -## MAX (250, 250), (300,300), or (350,350) depending on your printer size -## to respective belt positions - -#-------------------------------------------------------------------- -## Gantry Corners for 250mm Build -## Uncomment for 250mm build -#gantry_corners: -# -60,-10 -# 310, 320 -## Probe points -#points: -# 50,25 -# 50,175 -# 200,175 -# 200,25 - -## Gantry Corners for 300mm Build -## Uncomment for 300mm build -#gantry_corners: -# -60,-10 -# 360,370 -## Probe points -#points: -# 50,25 -# 50,225 -# 250,225 -# 250,25 - -## Gantry Corners for 350mm Build -## Uncomment for 350mm build gantry_corners: -60,-10 410,420 -# Probe points points: 50,25 50,275 300,275 300,25 - -#-------------------------------------------------------------------- speed: 350 horizontal_move_z: 5 retries: 5 @@ -513,28 +461,12 @@ path: ~/.octoprint/uploads/ type: vsdlist enable: {('virtual_sdcard' in printer)} name: Print Files + + ##################################################################### # Displays ##################################################################### -## Uncomment the display that you have -#-------------------------------------------------------------------- - -#[display] -## RepRapDiscount 128x64 Full Graphic Smart Controller -#lcd_type: st7920 -#cs_pin: EXP1_4 -#sclk_pin: EXP1_5 -#sid_pin: EXP1_3 -#menu_timeout: 40 -#encoder_pins: ^EXP2_5, ^EXP2_3 -#click_pin: ^!EXP1_2 - -[output_pin beeper] -pin: EXP1_1 - -#-------------------------------------------------------------------- - [display] # mini12864 LCD Display lcd_type: uc1701 @@ -566,6 +498,8 @@ gcode: SET_LED LED=btt_mini12864 RED=1 GREEN=1 BLUE=1 INDEX=2 TRANSMIT=0 SET_LED LED=btt_mini12864 RED=0 GREEN=0.2 BLUE=1 INDEX=3 +[output_pin beeper] +pin: EXP1_1 ##################################################################### # Menu