# err:Missed scheduling of next digital out event

**URL:** <https://klipper.discourse.group/t/err-missed-scheduling-of-next-digital-out-event/10951>\
**Category:** General Discussion\
**Created:** [October 13, 2023, 3:30am UTC](https://klipper.discourse.group/t/err-missed-scheduling-of-next-digital-out-event/10951 "2023-10-13T03:30:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![cz123123](https://avatars.discourse-cdn.com/v4/letter/c/5e9695/32.png) [@cz123123](https://klipper.discourse.group/u/cz123123)\
**Post date:** [October 13, 2023, 3:30am UTC](https://klipper.discourse.group/t/err-missed-scheduling-of-next-digital-out-event/10951/1 "2023-10-13T03:30:18Z")

</div>

[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

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [October 13, 2023, 5:38am UTC](https://klipper.discourse.group/t/err-missed-scheduling-of-next-digital-out-event/10951/2 "2023-10-13T05:38:37Z")

</div>

See [[output\_pin] maximum\_mcu\_duration param](https://klipper.discourse.group/t/output-pin-maximum-mcu-duration-param/1307)

---

<div class="post-metadata">

**Author:** ![cz123123](https://avatars.discourse-cdn.com/v4/letter/c/5e9695/32.png) [@cz123123](https://klipper.discourse.group/u/cz123123)\
**Post date:** [October 13, 2023, 9:37am UTC](https://klipper.discourse.group/t/err-missed-scheduling-of-next-digital-out-event/10951/3 "2023-10-13T09:37:06Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [October 13, 2023, 10:23am UTC](https://klipper.discourse.group/t/err-missed-scheduling-of-next-digital-out-event/10951/4 "2023-10-13T10:23:55Z")

</div>

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.

- [power-apis](https://moonraker.readthedocs.io/en/latest/web_api/#power-apis)
- [klipper-device-configuration](https://moonraker.readthedocs.io/en/latest/configuration/#klipper-device-configuration)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/klipper/original/1X/64419bf2aac6639e6ef5cef200dcd456b0a01ac3.png) [@system](https://klipper.discourse.group/u/system)\
**Post date:** [December 12, 2023, 10:24am UTC](https://klipper.discourse.group/t/err-missed-scheduling-of-next-digital-out-event/10951/5 "2023-12-12T10:24:18Z")

</div>

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