feat(config): add led and neopixel example config (#13)
This commit is contained in:
parent
0b9c27379b
commit
27fccaa232
|
|
@ -0,0 +1,9 @@
|
||||||
|
[neopixel my_neopixel]
|
||||||
|
pin: PC0
|
||||||
|
chain_count: 1
|
||||||
|
color_order: RGBW
|
||||||
|
|
||||||
|
[led dummy_led]
|
||||||
|
red_pin: PB4
|
||||||
|
green_pin: PB5
|
||||||
|
blue_pin: PB6
|
||||||
|
|
@ -0,0 +1,31 @@
|
||||||
|
[fan]
|
||||||
|
pin: PB4
|
||||||
|
off_below: 0.2
|
||||||
|
|
||||||
|
[heater_fan heater_fan]
|
||||||
|
pin: PB5
|
||||||
|
off_below: 0.0
|
||||||
|
shutdown_speed: 1.0
|
||||||
|
max_power: 1.0
|
||||||
|
|
||||||
|
[controller_fan controller_fan]
|
||||||
|
pin: PB6
|
||||||
|
off_below: 0.2
|
||||||
|
shutdown_speed: 1.0
|
||||||
|
max_power: 1.0
|
||||||
|
|
||||||
|
[filament_motion_sensor runout_sensor]
|
||||||
|
switch_pin: PC1
|
||||||
|
detection_length: 1.0
|
||||||
|
extruder: extruder
|
||||||
|
pause_on_runout: FALSE
|
||||||
|
runout_gcode:
|
||||||
|
M117 Runout sensor reports: Runout G-Code
|
||||||
|
insert_gcode:
|
||||||
|
M117 Runout sensor reports: Insert G-Code
|
||||||
|
|
||||||
|
[output_pin output_pin]
|
||||||
|
pin: PC0
|
||||||
|
pwm: false
|
||||||
|
shutdown_value: 0
|
||||||
|
value: 1
|
||||||
|
|
@ -28,8 +28,12 @@
|
||||||
[include addons/heater_bed.cfg]
|
[include addons/heater_bed.cfg]
|
||||||
#[include addons/temp_sensors.cfg]
|
#[include addons/temp_sensors.cfg]
|
||||||
|
|
||||||
# Other addons
|
# Miscellaneous (only one active config allowed at a time)
|
||||||
#[include addons/timelapse.cfg]
|
[include addons/miscellaneous.cfg.cfg] # [fan], [heater_fan], [controller_fan], [filament_runout_sensor], [output_pin]
|
||||||
|
#[include addons/led_neopixel.cfg] # [neopixel], [led]
|
||||||
|
|
||||||
|
# Moonraker Plugins
|
||||||
|
[include addons/timelapse.cfg]
|
||||||
|
|
||||||
############################################
|
############################################
|
||||||
### ADDITIONAL CONFIGURATIONS ###
|
### ADDITIONAL CONFIGURATIONS ###
|
||||||
|
|
@ -37,6 +41,7 @@
|
||||||
[respond]
|
[respond]
|
||||||
[pause_resume]
|
[pause_resume]
|
||||||
[display_status]
|
[display_status]
|
||||||
|
[exclude_object]
|
||||||
|
|
||||||
[mcu]
|
[mcu]
|
||||||
serial: /tmp/pseudoserial
|
serial: /tmp/pseudoserial
|
||||||
|
|
@ -50,41 +55,6 @@ retract_length: 0.5
|
||||||
retract_speed: 75
|
retract_speed: 75
|
||||||
unretract_speed: 75
|
unretract_speed: 75
|
||||||
|
|
||||||
############################################
|
|
||||||
### MISCELLANEOUS ###
|
|
||||||
############################################
|
|
||||||
[fan]
|
|
||||||
pin: PB4
|
|
||||||
off_below: 0.2
|
|
||||||
|
|
||||||
[heater_fan heater_fan]
|
|
||||||
pin: PB5
|
|
||||||
off_below: 0.0
|
|
||||||
shutdown_speed: 1.0
|
|
||||||
max_power: 1.0
|
|
||||||
|
|
||||||
[controller_fan controller_fan]
|
|
||||||
pin: PB6
|
|
||||||
off_below: 0.2
|
|
||||||
shutdown_speed: 1.0
|
|
||||||
max_power: 1.0
|
|
||||||
|
|
||||||
[filament_motion_sensor runout_sensor]
|
|
||||||
switch_pin: PC1
|
|
||||||
detection_length: 1.0
|
|
||||||
extruder: extruder
|
|
||||||
pause_on_runout: FALSE
|
|
||||||
runout_gcode:
|
|
||||||
M117 Runout sensor reports: Runout G-Code
|
|
||||||
insert_gcode:
|
|
||||||
M117 Runout sensor reports: Insert G-Code
|
|
||||||
|
|
||||||
[output_pin output_pin]
|
|
||||||
pin: PC0
|
|
||||||
pwm: false
|
|
||||||
shutdown_value: 0
|
|
||||||
value: 1
|
|
||||||
|
|
||||||
############################################
|
############################################
|
||||||
### BED MESH ###
|
### BED MESH ###
|
||||||
############################################
|
############################################
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue