[MERGED] if loop with watchdog

This topic has been merged into Watchdog Timer ARM Arduino DUE Board IDE 1.8.9.