Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
5 years, 11 months ago.
LPC1114 WDT
Watchdog wdt;
Ticker flipper; use MCU timer to generate WD reset public function
wdt.kick(5.0); WD timeout set to 5 seconds - after which reset MCU
flipper.attach(&wdt_reset, 4.0); kick the WD every 4 seconds
____
Hello,
above is the code in my program which is designed to kick the WDT automatically from Ticker.
However, when I try to compile it, I get
Error: Identifier "wdt_reset" is undefined in "M1707_Controller/main.cpp", Line: 889, Col: 21
I've called WDT.h, so thats not the problem.
Any ideas where I might be going wrong?
Thank you
Problem is solved now. I had disabled the interrupt routine void wdt_reset(void)
posted by Andrew R 19 Dec 2018