|
Re: Feeding the Watchdog in "Periodic Tasks"
The Delay & Feed input is in seconds rather than milliseconds like Timer takes , so "20" should be ".02" and "100" should be .1.
Otherwise it looks reasonable.
P.S.
Just be sure your digital switches are wired NC (normally closed). If they are wired "normally open" (NO) you'll blow right through all your autonomous checks.
You'll also see a "Watchdog not fed" message at the end of all your drive & kick sequences, but that's after your autonomous code has run it's course and exited, so that message won't matter to you and can be ignored.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Last edited by Mark McLeod : 04-04-2010 at 18:10.
Reason: order of magnitude & NC
|