I am using Arduino DUE for vehicle tracking gps/gprs device. Before using Arduino DUE I used Arduino UNO. When I am trying to load my code in Arduino DUE It shows me "fatal error: avr\wdt.h: No such file or directory". I can't delete watchdog from my code as it is so important for my device. Now how can I solve this problem ?
1 Answer
The Due is a very different board than the Uno. It uses a completely different architecture (ARM vs AVR). You can't use AVR-specific code on an ARM chip, and the Watchdog code is AVR-specific.
You will have to find (or write) the equivalent ARM code using the Due's register set instead.