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.
1 year, 9 months ago.
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
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?