err:Missed scheduling of next digital out event

[output_pin power]
pin:PB4
value:1
shutdown_value:0
maximum_mcu_duration:1

I use this output_pin function and it needs to be high for power on and low for power off. Now it keeps reporting the following error
pins.error: Pin with max duration must have start value equal to shutdown value
Later I found the error mask here in the source code and restarted the klipper with the following error
MCU ‘mcu’ shutdown: Missed scheduling of next digital out event

I just need to block the output_pin in the config file for these 2 errors and it works fine. What is the cause of this

See [output_pin] maximum_mcu_duration param

I need value = 1 shutdown_value =0 if set maximum_mcu_duration =0
Error ‘output_pin power’ must have a minimum value of 0.5

Apparently not possible today, at least not with this function.
You might want to check various Moonraker functionalities that can also react on such events, e.g.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.