View Single Post
  #6   Spotlight this post!  
Unread 16-01-2012, 10:48
gixxy's Avatar
gixxy gixxy is offline
Programming and Arduino Mentor
AKA: Gustave Michel III
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2012
Location: Ruston, LA
Posts: 207
gixxy is on a distinguished road
Re: Help With Programing

Basically the watchdog is a guardian. When enabled you need to "feed()" it and keep it happy. However if your code goes into an infinite loop or something the code will not be able to "feed()" the watchdog and it will die, and dis-activate the motors and other components with it, so that the robot doesn't go wild and break itself or something else.

However if you did not enable the watchdog, you should be fine not putting the code in for it.
Reply With Quote