View Single Post
  #12   Spotlight this post!  
Unread 07-12-2005, 09:28
Mike Bortfeldt Mike Bortfeldt is offline
Registered User
FRC #1126 (& 1511)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Rochester, NY
Posts: 119
Mike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud of
Re: BEI GyroChip Problems

Andrew,

Silly question, but do you still have the "Putdata(&txdata);" line at the end of the Process_Data_From_Master_uP routine and it's being executed? If that line is missing or not at the end, you may not be passing the new pwm values to the master processor. If your using PWMs 13-16, you need the Generate_Pwms call as well.
You also might want to try printing out the pwm value just before the Putdata call just to verify you have your expected pwm value and it's not getting overwritten somehow.

Mike