Wdt_interrupt_reset?

Hi

who know how it should works
wdt_enable(WDTO_8S, WDT_INTERRUPT_RESET);

I know only that interrupt will be first then reset. but how long time will pass after interrupt ?
should it immediately reseting after interrupt or should pass some time?

The Arduino UNO doesn't support a second parameter to wdt_enable. If you're using another board/platform you must tell us that.

1 Like

Arduino UNO and nano and leonardo and many other support second parametr, just need little bit modify enable function :wink: but question was not about that..

Q: reset will be immediately or other scenario

After another timeout period. From the datasheet:

1 Like

so after 8S will be interrupt and after additional 8S will be reset, right?

Yes. Easy enough to test…

I tested before but not was sure if this is correct behavoir

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