-
Notifications
You must be signed in to change notification settings - Fork 1
/
printer_display.cfg
61 lines (37 loc) · 1004 Bytes
/
printer_display.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
[display]
lcd_type: hd44780
rs_pin: EXP1_4
e_pin: EXP1_3
d4_pin: EXP1_5
d5_pin: EXP1_6
d6_pin: EXP1_7
d7_pin: EXP1_8
encoder_pins: ^EXP2_3, ^EXP2_5
click_pin: ^!EXP1_2
#kill_pin: ^!EXP2_8
[output_pin beeper]
pin: EXP1_1
# default menu config
# https://github.com/Klipper3d/klipper/blob/master/klippy/extras/display/display.cfg
[menu __main __octoprint]
type: disabled
[menu __main __sdcard]
type: disabled
[menu __main __temp]
type: disabled
[menu __main __filament]
type: disabled
[menu __main __setup]
type: disabled
[display_data _default_20x4 extruder]
position: 0, 0
text: { "X:%-5.2f" % (printer.toolhead.position.x) }
[display_data _default_20x4 heater_bed]
position: 0, 10
text: { "Y:%-5.2f" % (printer.toolhead.position.y) }
[display_data _default_20x4 extruder1]
position: 1, 0
text: { "Z:%-5.2f" % (printer.toolhead.position.z) }
[display_data _default_20x4 fan]
position: 1, 10
text: { 'ENABLED' if printer['gcode_macro ENABLE_Z_AXIS'].enable_z == 1 else 'DISABLED' }