Important changes to questions
We’re making some changes to Mbed Questions. From 10th December 2019 this site will be archived and new questions should be asked on our new forum site. Until that date you can continue to reply to existing questions here but can’t ask new questions.
11 months, 3 weeks 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?
You need to log in to post a question