Created
September 22, 2022 02:46
-
-
Save ChainsDD/7ce57fb2582bbd8bf3fa6dbc92697b98 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[led_effect case_off] | |
leds: | |
neopixel:my_neopixel (1-16) | |
layers: | |
static 0 0 top (0,0,0) | |
[led_effect bed_off] | |
leds: | |
neopixel:my_neopixel (17) | |
layers: | |
static 0 0 top (0,0,0) | |
[led_effect case_ready] | |
leds: | |
neopixel:my_neopixel (1-16) | |
layers: | |
static 0 0 top (0.5,0.5,0.5) | |
[led_effect bed_ready] | |
leds: | |
neopixel:my_neopixel (17) | |
layers: | |
breathing 5 0 top (0,0,0), (0.8,0,0.8) | |
[gcode_macro set_state] | |
gcode: | |
{% set state = params.STATE|default("off")|string %} | |
SET_LED_EFFECT EFFECT=case_{state} | |
SET_LED_EFFECT EFFECt=bed_{state} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment