Skip to content

Commit

Permalink
Add error effect to SB leds
Browse files Browse the repository at this point in the history
  • Loading branch information
rootiest committed Nov 20, 2022
1 parent 9120bd5 commit 8b06b25
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions machine/stealthburner_led_effects_barf.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,13 @@ gcode:
set_nozzle_leds_on
SET_LED LED=fysetc_mini12864 RED=0 GREEN=0 BLUE=1 INDEX=3 TRANSMIT=1

[gcode_macro status_error]
gcode:
STOP_LED_EFFECTS
WLED_ON PRESET=2
SET_LED_EFFECT EFFECT=critical_error FADE=0
SET_LED LED=fysetc_mini12864 RED=1 GREEN=0 BLUE=0 TRANSMIT=1

[gcode_macro status_heating]
gcode:
WLED_ON PRESET=6
Expand Down
2 changes: 1 addition & 1 deletion macros/CANCEL_PRINT.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ rename_existing: CANCEL_PRINT_BASE
variable_park: True
gcode:
M117 Print Canceled
WLED_ON PRESET=2
STATUS_ERROR
## Move head and retract only if not already in the pause state and park set to true
{% if printer.pause_resume.is_paused|lower == 'false' and park|lower == 'true'%}
_TOOLHEAD_PARK_PAUSE_CANCEL
Expand Down

0 comments on commit 8b06b25

Please sign in to comment.