feat(config): add led and neopixel example config (#13)

This commit is contained in:
th33xitus 2022-10-09 22:46:28 +02:00 committed by GitHub
parent 0b9c27379b
commit 27fccaa232
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 47 additions and 37 deletions

View File

@ -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

View File

@ -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

View File

@ -28,8 +28,12 @@
[include addons/heater_bed.cfg]
#[include addons/temp_sensors.cfg]
# Other addons
#[include addons/timelapse.cfg]
# Miscellaneous (only one active config allowed at a time)
[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 ###
@ -37,6 +41,7 @@
[respond]
[pause_resume]
[display_status]
[exclude_object]
[mcu]
serial: /tmp/pseudoserial
@ -50,41 +55,6 @@ retract_length: 0.5
retract_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 ###
############################################