View Single Post
  #6   Spotlight this post!  
Unread 12-01-2008, 10:27
ham90mack's Avatar
ham90mack ham90mack is offline
President of RIT FIRST
FRC #0073 (The Illumination)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Rochester, NY
Posts: 120
ham90mack is just really niceham90mack is just really niceham90mack is just really niceham90mack is just really niceham90mack is just really nice
Re: SetPWM and our IR controls

In Kevin's FRC code, before processing the data you must call the Getdata function first in order to get the inputs from the controller and place them within a structure. Then after processing the data, you must call Putdata in order to put your outputs to the controller from the output data structure. Maybe the SetPWM does the assembly calls to put the data directly to the controller instead of putting it into a structure that is not directly linked to the actual outputs... I don't know. I have never used the EasyC coding libraries before so I don't know how it appears to do things like that.
__________________
Old stuff:

FRC 2007 Strategy Solver. Version: 2.55. Progress: done.