how to disable WDT? #1337
-
I am using watchdog timer but somewhere in my code I need it to be disabled. I tried searching for similar keyword to watchdog_disable() but I did not found that anywhere. So please help me out. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
It seems it can't be stopped, once it's started. The best you can do is set it to take the maximum 8.3 seconds. You can also reset the count at any time - do that frequently in loop(), to stop it triggering. #997 has a link to the documentation, and to a video lecture on the subject by Van Hunter Adams. |
Beta Was this translation helpful? Give feedback.
-
One may try to
Take a look at Pico SDK code for more details: |
Beta Was this translation helpful? Give feedback.
It seems it can't be stopped, once it's started. The best you can do is set it to take the maximum 8.3 seconds. You can also reset the count at any time - do that frequently in loop(), to stop it triggering.
#997 has a link to the documentation, and to a video lecture on the subject by Van Hunter Adams.