-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Add extras configuration pane for such things as lights or auxiliary fan controls. For example on the following snippet...
`...
[fan]
pin: PB5
Lighting pin F0 on Board
[output_pin tool_lights]
pin: PB0
pwm: true
shutdown_value: 0
value: 100
cycle_time: 0.01
scale: 100
Lighting on F1
[output_pin can_lights]
pin: PB1
pwm: true
shutdown_value: 0
value: 100
cycle_time: 0.01
scale: 100
Lighting Control
Tool Lights
[gcode_macro tool_lights_off]
gcode:
SET_PIN PIN=tool_lights VALUE=0
[gcode_macro tool_lights_on]
gcode:
SET_PIN PIN=tool_lights VALUE=100
Canopy Lights
[gcode_macro canopy_off]
gcode:
SET_PIN PIN=can_lights VALUE=0
[gcode_macro canopy_on]
gcode:
SET_PIN PIN=can_lights VALUE=100
Global Lighting Control
[gcode_macro lights_off]
gcode:
SET_PIN PIN=tool_lights VALUE=0
SET_PIN PIN=can_lights VALUE=0
[gcode_macro lights_on]
gcode:
SET_PIN PIN=tool_lights VALUE=100
SET_PIN PIN=can_lights VALUE=100
...`