What is the best and shortest way to create a WatchDogTimer class, which can wait some time and then died?
So when I'm doing something like
WatchDogTimer wdt (10);
wdt
will be available only in next 10 seconds.
How can I do this?
ps: yeah, I saw that thread, but it did not actually help.