View Single Post
  #2   Spotlight this post!  
Unread 30-01-2005, 16:24
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: Issues with Generate_Pwms() function

Quote:
Originally Posted by pantherico
While we were trying to make our robot move autonomously, we discovered we can't do anything without the (hidden) Generate_Pwms function.
When we use this function and give the neutral (127) value to the motors they don't move but start to spontaneously tick for a ms every couple of seconds.
If you came across a similar problem, please let us know - preferablly with your solution. If not, feel free to send us any thoughts or ideas that might help.
While I personally have not seen the problem yet, I've about it.
Basically, PWMs 13-16 aren't true PWMs, they're faked. If you have interupts enabled, then these are probably screwed up.

As for the solution, the best one is probably to not use PWMs 13-16. It has been mentioned in other threads.