Changed default light to white

This commit is contained in:
Zach Schimke 2021-08-18 00:42:31 -07:00
parent 7dd26b4bbe
commit 26d3b1c1a3
1 changed files with 14 additions and 6 deletions

View File

@ -3,14 +3,14 @@
##################################################################### #####################################################################
## Neopixel interface ## Neopixel interface
[neopixel neo_status] [neopixel neo_leds]
pin: RGB pin: RGB
chain_count: 17 chain_count: 17
color_order: RGBW color_order: RGBW
initial_RED: 0.1 initial_RED: 0.0
initial_GREEN: 0.5 initial_GREEN: 0.0
initial_BLUE: 0.0 initial_BLUE: 0.0
initial_WHITE: 0.0 initial_WHITE: 0.5
##################################################################### #####################################################################
# Macros # Macros
@ -18,9 +18,18 @@ initial_WHITE: 0.0
[gcode_macro _SET_CASELIGHT] [gcode_macro _SET_CASELIGHT]
# use SET_CASELIGHT S0 to switch off # use SET_CASELIGHT S0 to switch off
# use SET_Caselight S100 for full brightness # use SET_Caselight S100 for full brightness
default_parameter_BLINK: 0
default_parameter_S: 0 default_parameter_S: 0
variable_color: 'WHITE'
variable_restore: 'WHITE'
variable_index: 2
variable_blink: 0
gcode: gcode:
SET_PIN PIN=_caselight VALUE={S} {% if params.COLOR == 'WHITE'%}
SET_GCODE_VARIABLE MACRO=_LCD_KNOB VARIABLE=color VALUE='"GREEN"'
SET_LED LED=neo_leds RED=0 GREEN=0 BLUE=0 WHITE={% S / 100 %} INDEX=3 TRANSMIT=1
SET_PIN PIN=_caselight VALUE={S}
[gcode_macro _caselight_state] [gcode_macro _caselight_state]
gcode: gcode:
@ -53,7 +62,6 @@ initial_duration: 1
gcode: gcode:
_LCD_KNOB COLOR=RED _LCD_KNOB COLOR=RED
[delayed_gcode _LCD_INIT_OFF] [delayed_gcode _LCD_INIT_OFF]
initial_duration: 10 initial_duration: 10
gcode: gcode: