View Single Post
  #13   Spotlight this post!  
Unread 05-02-2006, 21:55
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 588
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: New version of WPILib

Quote:
Originally Posted by TubaMorg
I've updated our EasyC with the new libraries. To test I added

InitPressureSwitch(1,2);

to our code and built it. It returned no errors but a warning that the above function call had no prototype. I'm not sure how to rectify this with EasyC, any thoughts?
You should also replace the UserAPI.h file to get the new functions to be available in your version of EasyC. Then if you reference the function there won't be any warnings.

There are additional functions in Builtins.h that you might also want to use. They are documented (mostly) in the PDF file.
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute