-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprinter-20230805_175321.cfg
663 lines (560 loc) · 22.6 KB
/
printer-20230805_175321.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
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
## LDO V0.2 Printer Configuration
## NOTE: The order of the [include] are IMPORTANT
#####################################################################
# User Interface Software
#####################################################################
## Uncomment depending on your software choice either Fluidd or Mainsail
# [include fluidd.cfg]
[include mainsail.cfg]
[mcu]
#####################################################################
# Obtain definition by "ls -l /dev/serial/by-id/"
#####################################################################
serial: /dev/serial/by-id/usb-Klipper_rp2040_455035712910EDE8-if00
restart_method: command
##--------------------------------------------------------------------
[mcu umb]
## Obtain definition by "ls -l /dev/serial/by-id/" then unplug to verify
##--------------------------------------------------------------------
serial: /dev/serial/by-id/usb-Klipper_rp2040_4634323932148680-if00
restart_method: command
##--------------------------------------------------------------------
#####################################################################
# Main Controller Board
#####################################################################
# This file contains common pin mappings for the BIGTREETECH SKR Pico V1.0
# To use this config, the firmware should be compiled for the RP2040 with
# USB communication.
# The "make flash" command does not work on the SKR Pico V1.0. Instead,
# after running "make", copy the generated "out/klipper.uf2" file
# to the mass storage device in RP2040 boot mode
## Voron Design VORON 0.1 SKR Pico V1.0 config
## *** THINGS TO CHANGE/CHECK: ***
## MCU path [mcu] section
## Z and Extruder motor currents [tmc2209 stepper_*] sections. Uncomment the stepper motor you have
## Full steps per rotation for Extruder [extruder] section
## Thermistor types [extruder] and [heater_bed] sections - See https://www.klipper3d.org/Config_Reference.html#common-thermistors for common thermistor types
## Extruder motor currents [extruder] section
## PID tune [extruder] and [heater_bed] sections
## Fine tune E steps [extruder] section
## For more info check https://docs.vorondesign.com/build/startup/#v0
[printer]
kinematics: corexy
max_velocity: 200
max_accel: 2000
max_z_velocity: 15
max_z_accel: 45
square_corner_velocity: 6.0
#####################################################################
# X/Y Stepper Settings
#####################################################################
[stepper_x]
step_pin: gpio11
## Refer to https://docs.vorondesign.com/build/startup/#v0
dir_pin: gpio10 # Check motor direction in link above. If inverted, add a ! before gpio10
enable_pin: !gpio12
rotation_distance: 40
microsteps: 32
full_steps_per_rotation: 200 # Set to 400 for 0.9° degree stepper motor, 200 is for 1.8° stepper motors
endstop_pin: ^gpio4 # LDO Picobilical overrides this setting
position_endstop: 120
position_max: 120
homing_speed: 50 # Can be increased after initial setup, Max 100
homing_retract_dist: 5
homing_positive_dir: true
[tmc2209 stepper_x]
uart_pin: gpio9
tx_pin: gpio8
uart_address: 0
interpolate: False
run_current: 0.5
sense_resistor: 0.110
stealthchop_threshold: 0 # Set to 999999 to turn stealthchop on, and 0 to use spreadcycle
[stepper_y]
step_pin: gpio6
## Refer to https://docs.vorondesign.com/build/startup/#v0
dir_pin: gpio5 # Check motor direction in link above. If inverted, add a ! before gpio5
enable_pin: !gpio7
rotation_distance: 40
microsteps: 32
full_steps_per_rotation: 200 # Set to 400 for 0.9° degree stepper motor, 200 is for 1.8° stepper motors
endstop_pin: ^gpio3
position_endstop: 120
position_max: 120
homing_speed: 50 # Can be increased after initial setup, Max 100
homing_retract_dist: 5
homing_positive_dir: true
[tmc2209 stepper_y]
uart_pin: gpio9
tx_pin: gpio8
uart_address: 2
interpolate: False
run_current: 0.5
sense_resistor: 0.110
stealthchop_threshold: 0 # Set to 999999 to turn stealthchop on, and 0 to use spreadcycle
#####################################################################
# Z Stepper Settings
#####################################################################
[stepper_z]
step_pin: gpio19
dir_pin: !gpio28 # Remove the ! before gpio28 if motor direction is inverted.
enable_pin: !gpio2
rotation_distance: 8 # For T8x8 integrated lead screw
microsteps: 32
endstop_pin: ^gpio25
position_endstop: 120 # Default endstp position on the bottom for v0.2
position_max: 120
position_min: -1.5
homing_speed: 10
second_homing_speed: 3.0
homing_retract_dist: 3.0
[tmc2209 stepper_z]
uart_pin: gpio9
tx_pin: gpio8
uart_address: 1
interpolate: False
## For LDO-42STH25-1004CL200E 1.0A
run_current: 0.37
sense_resistor: 0.110
stealthchop_threshold: 0 # Set to 999999 to turn stealthchop on, and 0 to use spreadcycle
#####################################################################
# Extruder
#####################################################################
[extruder]
step_pin: gpio14
dir_pin: gpio13 # Add ! if moving opposite direction
enable_pin: !gpio15
full_steps_per_rotation: 200 # Set to 200 for LDO 1.8° stepper motor, and set to 400 for OMC(StepperOnline) 0.9° stepper motor
rotation_distance: 22.23 # See calibrating rotation_distance on extruders doc
gear_ratio: 50:10 # For Mini Afterburner
microsteps: 32
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: gpio23 # LDO Picobilical overrides this setting
## Check what thermistor type you have. See https://www.klipper3d.org/Config_Reference.html#common-thermistors for common thermistor types.
## Use "Generic 3950" for NTC 100k 3950 thermistors
sensor_type: ATC Semitec 104NT-4-R025H42G # LDO Picobilical overrides this setting
sensor_pin: gpio27 # LDO Picobilical overrides this setting
control: pid # Do PID calibration after initial checks
pid_Kp: 28.182
pid_Ki: 1.978
pid_Kd: 100.397
min_temp: 0
max_temp: 270
min_extrude_temp: 170
max_extrude_only_distance: 150
max_extrude_cross_section: 0.8
pressure_advance: 0.0 # See tuning pressure advance doc
pressure_advance_smooth_time: 0.040
[tmc2209 extruder]
uart_pin: gpio9
tx_pin: gpio8
uart_address: 3
interpolate: False
## For LDO LDO 36STH17-1004AHG 1A 1.8°
#run_current: 0.3 # for LDO 36STH17-1004AHG
## For LDO LDO 36STH20-1004AHG 1A 1.8°
run_current: 0.6 # for LDO 36STH20-1004AHG
sense_resistor: 0.110
stealthchop_threshold: 0 # Set to 0 for spreadcycle, avoid using stealthchop on extruder
#####################################################################
# Bed Heater
#####################################################################
[heater_bed]
heater_pin: gpio21
## Check what thermistor type you have. See https://www.klipper3d.org/Config_Reference.html#common-thermistors for common thermistor types.
## Use "Generic 3950" for Keenovo heaters
sensor_type: ATC Semitec 104NT-4-R025H42G
sensor_pin: gpio26
smooth_time: 3.0
#max_power: 0.6 # Only needed for 100w pads
min_temp: 0
max_temp: 120
control: pid # Do PID calibration after initial checks
pid_kp: 68.453
pid_ki: 2.749
pid_kd: 426.122
#####################################################################
# Fan Control
#####################################################################
[heater_fan hotend_fan]
pin: gpio18 # LDO Picobilical overrides this setting
max_power: 1.0
kick_start_time: 0.5
heater: extruder # LDO Picobilical overrides this setting
heater_temp: 50.0 # LDO Picobilical overrides this setting
#fan_speed: 1.0 # You can't PWM the delta fan unless using blue wire
[fan]
pin: gpio17 # LDO Picobilical overrides this setting
max_power: 1.0
kick_start_time: 0.5 # Depending on your fan, you may need to increase this value if your fan will not start
off_below: 0.13
cycle_time: 0.010
# [controller_fan pcb_fan] # Optional fan for cooling your PCBs
# pin: gpio20
# max_power: 1.0
# kick_start_time: 0.5
# heater: heater_bed
#####################################################################
# Stealth Bed Front Lighting - Kirigami Bed
#####################################################################
[neopixel bed_light]
## RGB light installed on bed mount
pin: gpio24
chain_count: 16
color_order: GRBW
initial_RED: 1.0
initial_GREEN: 1.0
initial_BLUE: 1.0
initial_WHITE: 1.0
#####################################################################
# Homing and Gantry Adjustment Routines
#####################################################################
[idle_timeout]
timeout: 1800
# Uncomment this section if you are using physical endstops
# [safe_z_home]
# home_xy_position: 120,120
# speed: 50.0
# z_hop: 5
## To be used with BED_SCREWS_ADJUST
[bed_screws]
screw1: 60,5
screw1_name: front screw
screw2: 5,115
screw2_name: back left
screw3: 115,115
screw3_name: back right
#####################################################################
# LDO Picobilical
#####################################################################
## Comment for the secondary controller board
# This file contains pin mappings for the LDO V0 Kit using the LDO Picobilical as a secondary controller.
# To use this config, the firmware should be compiled for the Raspberry Pi RP2040
# after running "make", copy the generated "klipper/out/klipper.uf2" firmware file
# reboot the picobilical controller into BOOTSEL mode while connected to a PC, and copy the firmware file into the controller
## Voron Design VORON0 x LDO Picobilical partial config
## *** THINGS TO CHANGE/CHECK: ***
## MCU paths [mcu] section
## Thermistor types [extruder] sections
## *MAKE SURE* to include this partial config file *AFTER* the main controller config.
## This will ensure the relavent sections are overwritten by the picobilical mappings specified here.
#####################################################################
# X Stepper Settings
#####################################################################
## XES - Toolhead PCB
## Overwrites the X endstop connection
#[stepper_x]
#endstop_pin: umb:gpio0
#####################################################################
# Extruder
#####################################################################
## HE0, TH0 - Toolhead PCB
## Overwrites the extruder heater & thermistor connection
[extruder]
heater_pin: umb:gpio4
sensor_type: ATC Semitec 104GT-2 # Change this to your actual thermistor type
sensor_pin: umb:gpio29
pullup_resistor: 2200
#####################################################################
# Fan Control
#####################################################################
## PCF - Toolhead PCB
## Overwrites the part fan connection
[fan]
pin: umb:gpio2
## HEF - Toolhead PCB
## Overwrites the hotend fan connection
[heater_fan hotend_fan]
pin: umb:gpio3
heater: extruder
heater_temp: 50.0
#####################################################################
# Neopixels
#####################################################################
## Neopixel 1 - Frame PCB
[neopixel rgb1]
pin: umb:gpio1
chain_count: 1
color_order: GRB
initial_RED: 0.3
initial_GREEN: 0.3
initial_BLUE: 0.3
## Neopixel 2 - Frame PCB
[neopixel rgb2]
pin: umb:gpio7
chain_count: 1
color_order: GRB
initial_RED: 0.3
initial_GREEN: 0.3
initial_BLUE: 0.3
## Buzzer - Frame PCB
[output_pin beeper]
pin: umb:gpio5
value: 0
shutdown_value: 0
[gcode_macro M300]
description: Custom M300 code to allow beeper to be used in gcode
gcode:
{% set TIME_MS = params.P|default(100)|float %}
SET_PIN PIN=beeper VALUE=1
G4 P{TIME_MS}
SET_PIN PIN=beeper VALUE=0
#####################################################################
# Additional Sensors
#####################################################################
[thermistor CMFB103F3950FANT]
temperature1: 0.0
resistance1: 32116.0
temperature2: 40.0
resistance2: 5309.0
temperature3: 80.0
resistance3: 1228.0
## CT - Frame PCB
## Chamber thermistor
[temperature_sensor chamber_temp]
sensor_type: CMFB103F3950FANT
sensor_pin: umb:gpio28
pullup_resistor: 2200
min_temp: 0
max_temp: 100
gcode_id: chamber_th
[filament_switch_sensor runout_sensor]
switch_pin: gpio16
pause_on_runout: True
## FS - Frame PCB
## Filament Sensor 1
#[filament_switch_sensor runout_sensor]
#switch_pin: umb:gpio6
#pause_on_runout: True
## SU - Frame PCB
## Filament Sensor 2
#[gcode_button filament_sensor_button]
#pin: umb:gpio18
# release_gcode: {INSERT YOUR GCODE HERE}
## Sensorless Homing
## This file contains configuration and macros pertaining to sensorless homing for the Voron 0.2
## It is based on this guide: https://docs.vorondesign.com/community/howto/clee/sensorless_xy_homing.html
## *MAKE SURE* to include this config file *AFTER* the main controller config.
## This will ensure the relavent sections are overwritten by the configurations specified here.
## If using SKR Pico or SKR mini E3 mainboards, make sure to set the X-DIAG and Y-DIAG jumpers to enable sensorless homing
## See here https://github.com/bigtreetech/SKR-Pico/blob/master/Hardware/BTT%20SKR%20Pico%20V1.0-PIN.pdf
[stepper_x]
endstop_pin: tmc2209_stepper_x:virtual_endstop
homing_speed: 40
homing_retract_dist: 0
[tmc2209 stepper_x]
diag_pin: ^gpio4
driver_SGTHRS: 90 #Tune this, use the highest value that will not cause a false trigger
[stepper_y]
endstop_pin: tmc2209_stepper_y:virtual_endstop
homing_speed: 40
homing_retract_dist: 0
[tmc2209 stepper_y]
diag_pin: ^gpio3
driver_SGTHRS: 90 #Tune this, use the highest value that will not cause a false trigger
[gcode_macro _HOME_X]
gcode:
# Always use consistent run_current on A/B steppers during sensorless homing
{% set RUN_CURRENT_X = printer.configfile.settings['tmc2209 stepper_x'].run_current|float %}
{% set RUN_CURRENT_Y = printer.configfile.settings['tmc2209 stepper_y'].run_current|float %}
{% set HOME_CURRENT = 0.7 %}
SET_TMC_CURRENT STEPPER=stepper_x CURRENT={HOME_CURRENT}
SET_TMC_CURRENT STEPPER=stepper_y CURRENT={HOME_CURRENT}
SAVE_GCODE_STATE NAME=STATE_HOME_X
# Home
G28 X
# Move away
G91
G1 X-5 F1200
# Wait just a second… (give StallGuard registers time to clear)
G4 P500
# Set current during print
SET_TMC_CURRENT STEPPER=stepper_x CURRENT={RUN_CURRENT_X}
SET_TMC_CURRENT STEPPER=stepper_y CURRENT={RUN_CURRENT_Y}
RESTORE_GCODE_STATE NAME=STATE_HOME_X
[gcode_macro _HOME_Y]
gcode:
# Set current for sensorless homing
{% set RUN_CURRENT_X = printer.configfile.settings['tmc2209 stepper_x'].run_current|float %}
{% set RUN_CURRENT_Y = printer.configfile.settings['tmc2209 stepper_y'].run_current|float %}
{% set HOME_CURRENT = 0.7 %}
SET_TMC_CURRENT STEPPER=stepper_x CURRENT={HOME_CURRENT}
SET_TMC_CURRENT STEPPER=stepper_y CURRENT={HOME_CURRENT}
SAVE_GCODE_STATE NAME=STATE_HOME_Y
# Home
G28 Y
# Move away
G91
G1 Y-5 F1200
# Wait just a second… (give StallGuard registers time to clear)
G4 P500
# Set current during print
SET_TMC_CURRENT STEPPER=stepper_x CURRENT={RUN_CURRENT_X}
SET_TMC_CURRENT STEPPER=stepper_y CURRENT={RUN_CURRENT_Y}
RESTORE_GCODE_STATE NAME=STATE_HOME_Y
[homing_override]
axes: xyz
set_position_z: 0
gcode:
{% set home_all = 'X' not in params and 'Y' not in params and 'Z' not in params %}
SAVE_GCODE_STATE NAME=STATE_HOME_OVERRIDE
# Home Z first, to avoid any situation where the nozzle might scrape the bed
{% if home_all or 'Z' in params %}
G28 Z
{% endif %}
{% if home_all or 'X' in params %}
_HOME_X
{% endif %}
{% if home_all or 'Y' in params %}
_HOME_Y
{% endif %}
G90
G0 X60 Y60 Z20 F3600 # move to bed center
RESTORE_GCODE_STATE NAME=STATE_HOME_OVERRIDE
## LDO recommended macros to get you started
# These macros are recommended by LDO
# You can copy these entries into your printer.cfg.
#
# Alternatively,
# You can copy these entries into your printer.cfg.
#
[gcode_macro PRINT_START]
# Use PRINT_START for the slicer starting script - please customize for your slicer of choice
gcode:
G28 ; home all axes
G90 ; absolute positioning
G1 Z20 F3000 ; move nozzle away from bed
[gcode_macro PRINT_END]
# Use PRINT_END for the slicer ending script - please customize for your slicer of choice
gcode:
M400 ; wait for buffer to clear
G92 E0 ; zero the extruder
G1 E-4.0 F3600 ; retract filament
G91 ; relative positioning
# Get Boundaries
{% set max_x = printer.configfile.config["stepper_x"]["position_max"]|float %}
{% set max_y = printer.configfile.config["stepper_y"]["position_max"]|float %}
{% set max_z = printer.configfile.config["stepper_z"]["position_max"]|float %}
# Check end position to determine safe direction to move
{% if printer.toolhead.position.x < (max_x - 20) %}
{% set x_safe = 20.0 %}
{% else %}
{% set x_safe = -20.0 %}
{% endif %}
{% if printer.toolhead.position.y < (max_y - 20) %}
{% set y_safe = 20.0 %}
{% else %}
{% set y_safe = -20.0 %}
{% endif %}
{% if printer.toolhead.position.z < (max_z - 2) %}
{% set z_safe = 2.0 %}
{% else %}
{% set z_safe = max_z - printer.toolhead.position.z %}
{% endif %}
G0 Z{z_safe} F3600 ; move nozzle up
G0 X{x_safe} Y{y_safe} F20000 ; move nozzle to remove stringing
TURN_OFF_HEATERS
M107 ; turn off fan
G90 ; absolute positioning
G0 X60 Y{max_y} F3600 ; park nozzle at rear
[gcode_macro CHOME]
description: Homes XYZ axis only if printer is in a non-homed state
gcode:
{% if "xyz" not in printer.toolhead.homed_axes %}
G28
{% endif %}
[gcode_macro UNLOAD_FILAMENT]
description: Unloads filament from toolhead
gcode:
{% set EXTRUDER_TEMP = params.TEMP|default(230)|int %}
CHOME
G91 ; relative positioning
G1 Z20 ; move nozzle upwards
FRONT ; move the toolhead to the front
LOGO_PENDING
M109 S{EXTRUDER_TEMP} ; heat up the hotend
LOGO_READY
M83 ; set extruder to relative mode
G1 E-8 F1800 ; quickly retract a small amount to elimate stringing
G4 P200 ; pause for a short amount of time
G1 E-50 F300 ; retract slowly the rest of the way
G1 E-20 F300
M400 ; wait for moves to finish
M117 Unload Complete!
LOGO_OFF
[gcode_macro LOAD_FILAMENT]
description: Loads new filament into toolhead
gcode:
{% set EXTRUDER_TEMP = params.TEMP|default(230)|int %}
FRONT ; move the toolhead to the front
LOGO_PENDING
M109 S{EXTRUDER_TEMP} ; heat up the hotend
LOGO_READY
M83 ; set extruder to relative mode
G1 E50 F300 ; extrude slowlyL
G1 E50 F300
M400 ; wait for moves to finish
M117 Load Complete!
LOGO_OFF
[gcode_macro CENTER]
description: Moves the toolhead to the center
gcode:
CHOME
{% set x_center = printer.toolhead.axis_maximum.x|float / 2.0 %}
{% set y_center = printer.toolhead.axis_maximum.y|float / 2.0 %}
G90
G1 X{x_center} Y{x_center} F7800
[gcode_macro FRONT]
description: Moves the toolhead to the front
gcode:
CHOME
{% set x_center = printer.toolhead.axis_maximum.x|float / 2.0 %}
{% set y_center = printer.toolhead.axis_maximum.y|float / 2.0 %}
G90
G1 X{x_center} Y10 F7800
[gcode_macro NOZZLE_PURGE]
description: Draw a purge line at the front left edge of the build plate
gcode:
CHOME
G0 X2.5 Y4 F3000 ; Go to front
G0 Z0.15 ; Drop to bed
M83 ; Set extruder to relative mode
G1 X45 E15 F500 ; Extrude 25mm of filament in a 4cm line
G1 E-0.5 F400 ; Retract a little
G1 X85 F4000 ; Quickly wipe away from the filament line
G1 Z0.3 ; Raise and begin printing.
[gcode_macro LIGHT_ON]
gcode:
variable_delay_ms: 50
variable_delay2_ms: 200
variable_led_count: 15
gcode:
{% for led_index in range(1, led_count + 1) %}
SET_LED LED=bed_light RED=1 INDEX={led_index}
G4 P{delay_ms}
{% endfor %}
{% for led_index in range(1, led_count + 1) %}
SET_LED LED=bed_light RED=1 GREEN=1 BLUE=1 WHITE=1.0 INDEX={led_index}
G4 P{delay2_ms}
{% endfor %}
[gcode_macro LIGHT_OFF]
variable_delay_ms: 100
variable_led_count: 15
gcode: {% for led_index in range(1, led_count + 1) %}
SET_LED LED=bed_light RED=0 GREEN=0 BLUE=0 WHITE=0 INDEX={led_index}
G4 P{delay_ms}
{% endfor %}
[gcode_macro LOGO_PENDING]
gcode:
SET_LED LED=bed_light RED=0.99 GREEN=0.1 BLUE=0.1 WHITE=0 INDEX=16
[gcode_macro LOGO_READY]
gcode:
SET_LED LED=bed_light RED=0.1 GREEN=0.2 BLUE=0.99 WHITE=0 INDEX=16
[gcode_macro LOGO_OFF]
gcode:
SET_LED LED=bed_light RED=0 GREEN=0 BLUE=0 WHITE=0 INDEX=16
[gcode_macro FAN_ON]
gcode:
SET_FAN_SPEED FAN=hotend_fan SPEED=0.5
SET_FAN_SPEED FAN=fan SPEED=0.5