View Single Post
  #7   Spotlight this post!  
Unread 10-02-2007, 14:07
Tz0m Tz0m is offline
Registered User
FRC #0333
Team Role: Programmer
 
Join Date: Feb 2006
Rookie Year: 2006
Location: New York
Posts: 17
Tz0m is an unknown quantity at this point
Re: Storing functions to variables

Ok, I have everything setup properly now, I think. The only thing I need to do is assign the variable 'TILT_SERVO' to the variable I pass into my function, 'tiltS'. I am not sure where to declare my variable and how or where to set its value to 'TILT_SERVO'. I have attached the three files I have edited for my code.
Attached Files
File Type: c calcs.c (788 Bytes, 26 views)
File Type: h calcs.h (421 Bytes, 25 views)
File Type: c user_routines.c (17.6 KB, 20 views)