Easiest is to count wakeups and when lesser than 10 seconds deepsleep again, else wakeup.
Thanks. Now I have done same logic but that's just a quickfix. Can't we make the watchdog timer to wakeup after 10 seconds instead of counting total wakeup's.
Isn't there any way to set number of seconds or milliseconds to the Watchdog timer (Big number like 10 or 20 seconds)?
This document seems to have too much information. Sorry, I am not very technical person. Could you plz point me to some simplest example of using it?
At the very begin of the document I pointed to are the pictures for setting the WDT for several different devices. Open your project, view the .cydwr file, select the "Clocks" tab and proceed exactly as shown in the pictures. Make sure, that you have got the latest Creator version which is as of today 3.3 SP1.