Open BrewNinja opened 5 months ago
The original value made it so the LED's blinked instead of dimmed.
I WAS SO CONFUSED!
@BrewNinja
The menu config can also be easily changed.
#[menu __main __tune __exhaustfanspeed]
#type: input
#name: ExhaustFan:{'%3d' % (menu.input*100)}%
#input: {printer["fan_generic fan3"].speed}
#input_min: 0
#input_max: 1
#input_step: 0.01
#gcode:
# M106 P3 S{'%d' % (menu.input*255)}
#[menu __main __tune __ledonoff]
#type: input
#name: Led: {'ON ' if menu.input else 'OFF'}
#input: {printer['output_pin main_led'].value}
#input_min: 0
#input_max: 1
#input_step: 1
#gcode:
# SET_PIN PIN=main_led VALUE={1 if menu.input else 0}
[menu __main __tune __ledonoff]
type: input
enable: {'output_pin main_led' in printer}
name: Dim: {'%3d%s' % (menu.input*100,'%') if menu.input else 'OFF'}
input: {printer['output_pin main_led'].value}
input_min: 0.0
input_max: 1.0
input_step: 0.01
gcode: SET_PIN PIN=main_led VALUE={menu.input}
#[menu __main __control2 __exhaustfanspeed]
#type: input
#name: ExhaustFan:{'%3d' % (menu.input*100)}%
#input: {printer["fan_generic fan3"].speed}
#input_min: 0
#input_max: 1
#input_step: 0.01
#gcode:
# M106 P3 S{'%d' % (menu.input*255)}
#[menu __main __control2 __ledonoff]
#type: input
#name: Led: {'ON ' if menu.input else 'OFF'}
#input: {printer['output_pin main_led'].value}
#input_min: 0
#input_max: 1
#input_step: 1
#gcode:
# SET_PIN PIN=main_led VALUE={1 if menu.input else 0}
[menu __main __control2 __ledonoff]
type: input
enable: {'output_pin main_led' in printer}
name: Dim: {'%3d%s' % (menu.input*100,'%') if menu.input else 'OFF'}
input: {printer['output_pin main_led'].value}
input_min: 0.0
input_max: 1.0
input_step: 0.01
gcode: SET_PIN PIN=main_led VALUE={menu.input}
menu config
Where can i find the menu config? Is it in Klipper menu somewhere or SSH?
Fixed the "main_led" to actually dim and work as expected