View Single Post
  #5   Spotlight this post!  
Unread 29-01-2008, 13:56
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Serious Problem of Unknown Origin

The repeated initialization message says that your program is causing the Robot Controller to reset repeatedly. squirrel probably has it pegged: the current draw from the motors drops the voltage to the point where the RC doesn't have enough to keep running.

But in case that's not the problem, which timer are you using? How long did you set it to run before causing an interrupt? Did you remember to reset the interrupt flag in the service routine?

One more thing: are you using PWMs 13-16? Using the standard IFI code, those four outputs don't play nice with interrupts.

Last edited by Alan Anderson : 29-01-2008 at 13:59.