-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprinter-20240408_154407.cfg
132 lines (112 loc) · 3.48 KB
/
printer-20240408_154407.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
#[include mmu/base/*.cfg]
[include mmu/optional/client_macros.cfg]
[include mmu/optional/mmu_ercf_compat.cfg]
#[include mmu/optional/mmu_ercf_cutter.cfg]
[include mmu/optional/mmu_menu.cfg]
#[include mmu/addons/mmu_erec_cutter.cfg]
[include config_backup.cfg]
# This file contains common pin mappings for the Fysetc Cheetah v1.1
# board. To use this config, the firmware should be compiled for the
# STM32F103 with "No bootloader" and serial (on USART1 PA10/PA9)
# communication.
# The "make flash" command does not work on the Cheetah. Instead,
# after running "make", run the following command to flash the board:
# stm32flash -w out/klipper.bin -v -i rts,-dtr,dtr /dev/ttyUSB0
# See docs/Config_Reference.md for a description of parameters.
[include ./hardware/hardware.cfg]
[pause_resume]
#recover_velocity: 25
[exclude_object]
[respond]
[display_status]
[include mainsail.cfg]
[include ./macros/macros.cfg]
[include KAMP/*cfg]
[gcode_arcs]
#resolution: 1.0
######################################################################
# 128x64 Full Graphic Creality CR10 / ENDER 3 stockdisplay
######################################################################
# This section is used for a Creality "12864" display with a single
# ribbon cable between the display's EXP3 plug and the
# micro-controller board's EXP1 connector.
[display]
lcd_type: st7920
cs_pin: EXP1_7
sclk_pin: EXP1_6
sid_pin: EXP1_8
encoder_pins: ^EXP1_5, ^EXP1_3
click_pin: ^!EXP1_2
#[output_pin Beeper]
#pin: PC9
[output_pin beeper]
pin: PC9
# Beeper pin. This parameter must be provided.
# ar37 is the default RAMPS/MKS pin.
pwm: True
# A piezo beeper needs a PWM signal, a DC buzzer doesn't.
value: 0
# Silent at power on, set to 1 if active low.
shutdown_value: 0
# Disable at emergency shutdown (no PWM would be available anyway).
#cycle_time: 0.001
# Default PWM frequency : 0.001 = 1ms will give a tone of 1kHz
# Although not pitch perfect.
[gcode_macro M300]
gcode:
# Use a default 1kHz tone if S is omitted.
{% set S = params.S|default(1000)|int %}
# Use a 10ms duration is P is omitted.
{% set P = params.P|default(100)|int %}
SET_PIN PIN=beeper VALUE=0.5 CYCLE_TIME={ 1.0/S if S > 0 else 1 }
G4 P{P}
SET_PIN PIN=beeper VALUE=0
[board_pins]
aliases:
# EXP1 header
EXP1_1=PC9, EXP1_3=PC11, EXP1_5=PC10, EXP1_7=PB12, EXP1_9=<GND>,
EXP1_2=PC12, EXP1_4=PB14, EXP1_6=PB13, EXP1_8=PB15, EXP1_10=<5V>
# Pins EXP1_4, EXP1_8, EXP1_6 are also MISO, MOSI, SCK of bus "spi2"
# See the sample-lcd.cfg file for definitions of common LCD displays.
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [extruder]
#*# control = pid
#*# pid_kp = 24.726
#*# pid_ki = 1.121
#*# pid_kd = 136.301
#*#
#*# [heater_bed]
#*# control = pid
#*# pid_kp = 71.943
#*# pid_ki = 1.631
#*# pid_kd = 793.174
#*#
#*# [input_shaper]
#*# shaper_type_x = mzv
#*# shaper_freq_x = 53.6
#*# shaper_type_y = mzv
#*# shaper_freq_y = 34.2
#*#
#*# [probe]
#*# z_offset = 3.861
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# -0.013542, -0.009375, -0.019792, -0.044792
#*# 0.021875, 0.013542, 0.006250, 0.000000
#*# 0.058333, 0.042708, 0.026042, 0.015625
#*# 0.090625, 0.056250, 0.046875, 0.037500
#*# 0.063542, 0.050000, 0.032292, 0.023958
#*# x_count = 4
#*# y_count = 5
#*# mesh_x_pps = 2
#*# mesh_y_pps = 2
#*# algo = lagrange
#*# tension = 0.2
#*# min_x = 76.28
#*# max_x = 148.71
#*# min_y = 65.53999999999999
#*# max_y = 159.46