Good Day
Hi I have a question is the following
In CCS'm doing a practice which involves making a zero crossing detector to detect when the sine wave crosses zero network and additionally I put a supercapacitor or a battery to that when no mains voltage into low power mode and last toggle a pin for at least 1 hour.
I put the WDT as timer for about one second and if it finds that there is no zero crossing in 1 second then goes into low power mode.
But when I test the microcontroller takes 10 seconds and is as if it will reset and go back to doing nothing
My question is how do the test in a correct way?
Thanks