View Single Post
  #1   Spotlight this post!  
Unread 29-01-2010, 15:15
msk msk is offline
Registered User
FRC #2177
 
Join Date: Jan 2009
Location: Minnesota
Posts: 4
msk is an unknown quantity at this point
Already allocated ports for Relays?

My students had some weird stuff going on last night while trying to test out some of the code they wrote to turn a Relay on and off with a joystick button.

Code compiled and downloaded to the robot fine, but when enabled, the robot did nothing (even driving code that previously worked did nothing).

Switching over to the developer side, we noticed an allocation error for our Relay channel. It said that channel had already been used. We have it on the digital sidecar, using slot 6, channel 2. We have no other Relays connected, though do have Jaguars plugged into the other side of the sidecar. No where else in the code do we assign a Relay to the same channel.

Last year, we used C++ with pretty much the same code we are trying in Java now.

Any one else experience errors like this and know what we're missing?

Thanks.
Reply With Quote