-
Notifications
You must be signed in to change notification settings - Fork 4
/
displays.cfg
191 lines (176 loc) · 4.39 KB
/
displays.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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
[display]
# mini12864 LCD Display
lcd_type: uc1701
cs_pin: PC11
a0_pin: PD2
rst_pin: PC10
encoder_pins: ^PC7,^PC6
click_pin: ^!PA8
contrast: 63
# spi_bus: spi1
spi_software_mosi_pin: PA7
spi_software_miso_pin: PA6
spi_software_sclk_pin: PA5
display_group: __voron_display
[display_glyph chamber]
data:
................
****************
*....*....*....*
*....*....*....*
*....******....*
*..............*
*..............*
*.....****.....*
*.***.*..*.***.*
*.....****.....*
*......**......*
*..............*
*.************.*
*...*......*...*
****************
................
[display_glyph voron]
data:
......***.......
....*******.....
...*********....
.*************..
*****..***..***.
****..***..****.
***..***..*****.
**..***..******.
******..***..**.
*****..***..***.
****..***..****.
***..***..*****.
.*************..
...*********....
....*******.....
......***.......
[display_glyph voron_heart]
data:
................
..****...*****..
.**************.
******..**..****
*****..**..*****
****..**..******
*******..*******
.*****..**..***.
.****..**..****.
..**..**..****..
...**********...
....********....
.....******.....
......****......
.......**.......
................
[display_glyph ercfcarrot]
data:
........***.....
***....***......
.**....**.......
.****..**.......
...**..*........
...***.*..**....
.........***....
..****..***.....
****...***..*...
***...***..***..
**...***..***...
......*..***..*.
........***..**.
.........*..***.
............***.
................
[display_template _vheater_temperature]
param_heater_name: "extruder"
text:
{% if param_heater_name in printer %}
{% set heater = printer[param_heater_name] %}
# Show glyph
{% if param_heater_name == "heater_bed" %}
{% if heater.target %}
{% set frame = (printer.toolhead.estimated_print_time|int % 2) + 1 %}
~bed_heat{frame}~
{% else %}
~bed~
{% endif %}
{% else %}
~extruder~
{% endif %}
# Show temperature
{ "%3.0f" % (heater.temperature,) }
# Optionally show target
{% if heater.target and (heater.temperature - heater.target)|abs > 2 %}
~right_arrow~
{ "%0.0f" % (heater.target,) }
{% endif %}
~degrees~
{% endif %}
[display_data __voron_display extruder]
position: 0, 0
text: { render("_vheater_temperature", param_heater_name="extruder") }
[display_data __voron_display fan]
position: 0, 10
text:
{% if 'fan' in printer %}
{% set speed = printer.fan.speed %}
{% if speed %}
{% set frame = (printer.toolhead.estimated_print_time|int % 2) + 1 %}
~fan{frame}~
{% else %}
~fan1~
{% endif %}
{ "{:>4.0%}".format(speed) }
{% endif %}
[display_data __voron_display bed]
position: 1, 0
text: { render("_vheater_temperature", param_heater_name="heater_bed") }
[display_data __voron_display progress_text]
position: 1, 10
text:
{% set progress = printer.display_status.progress %}
{ "{:^6.0%}".format(progress) }
[display_data __voron_display progress_text2]
position: 1, 10
text:
{% set progress = printer.display_status.progress %}
{ draw_progress_bar(1, 10, 6, progress) }
[display_data __voron_display printing_time]
position: 2, 10
text:
{% set ptime = printer.idle_timeout.printing_time %}
{ " %02d:%02d" % (ptime // (60 * 60), (ptime // 60) % 60) }
#########################################################
# This section defines the actual chamber temp. field,
# replace 'temperature_sensor chamber' as necessary
#########################################################
[display_data __voron_display chamber]
position: 2, 0
text:
{% set chamber = printer['temperature_sensor chamber'] %}
{% set frame_temp = printer['temperature_sensor frame'] %}
~chamber~ { "%2.0f" % (chamber.temperature,) }~degrees~~right_arrow~{ "%2.0f" % (frame_temp.temperature,) }~degrees~
[display_data __voron_display print_status]
position: 3, 0
text:
{% if printer.display_status.message %}
{ printer.display_status.message }
{% elif printer.idle_timeout.printing_time %}
{% set pos = printer.toolhead.position %}
{ "X%-4.0fY%-4.0fZ%-5.2f" % (pos.x, pos.y, pos.z) }
{% else %}
{ "V2.1473" }
{% endif %}
[display_data __voron_display voron_logo]
position: 3, 10
text:
{% if printer.display_status.message %}
{% elif printer.idle_timeout.printing_time %}
{% else %}
~voron~
~voron_heart~
~ercfcarrot~
{% endif %}