View Single Post
  #2   Spotlight this post!  
Unread 30-01-2012, 15:12
basicxman basicxman is offline
Emily Horsman
FRC #2200 (MMRambotics)
Team Role: Programmer
 
Join Date: Oct 2007
Rookie Year: 2007
Location: Burlington, Ontario
Posts: 971
basicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant future
Send a message via AIM to basicxman Send a message via MSN to basicxman Send a message via Yahoo to basicxman
Re: cRIO v43 == fail

Due to the attempted compatibility with the cRio-FRC II and the cRio-FRC (the one you're using) you'll need to pass in a module number to your objects. Since your sidecar is in slot 6 you'll have to pass in a 2 (the second group of slots).

For instance,

Code:
Servo *pan = new Servo(2, PAN_PWM_PORT);
Relevant links:

http://mmrambotics.ca/wpilib/class_s...a533a54f4b7909

http://www.usfirst.org/sites/default...20System_2.pdf (page 12)
Reply With Quote