Thread: WPILib Use Help
View Single Post
  #2   Spotlight this post!  
Unread 09-01-2008, 21:50
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 590
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: WPILib Use Help

Ryan -

I tried compiling the code that you listed and didn't get the warning about SetCompetitionMode. What you had seemed right, maybe you were building a Vex version of the program. In the Vex version there are two arguments, the first being the autonomous period time and the second the operator control period.

Actually, that might explain why the SetOILED functions aren't working. Those are also missing from the Vex version since there are no IO LEDs.

Can you verify that you have defined _FRC_BOARD in your project somewhere. That's the preprocessor symbol that includes the FRC stuff.

Brad
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute