kender
Joined: 09 Aug 2004 Posts: 768 Location: Silicon Valley
|
Detecting that the reset was caused by WDT |
Posted: Mon Apr 14, 2008 3:26 pm |
|
|
Colleagues,
I think, I saw this topic on this forum, but I can’t find it again. There is a way to detect how the firmware was (re)started: brownout vs. WDT vs. MCLR. Could anyone explain how to do it or post a sample code?
Thanks!
- Nick
P.S. My hardware is PIC18LF4525. PCWH 4.071 _________________ Read the label, before opening a can of worms. |
|