View Single Post
  #5   Spotlight this post!  
Unread 29-01-2009, 23:12
starsROBOTICS starsROBOTICS is offline
Registered User
FRC #2276 (S.T.A.R.S)
Team Role: Engineer
 
Join Date: Mar 2008
Rookie Year: 2006
Location: texas, houston
Posts: 44
starsROBOTICS is on a distinguished road
Re: 2 Joysticks, 2 Triggers, 1 relay, 1 problem

Quote:
Originally Posted by a3aperez View Post
Make sure you are using the right constants.

From the Set Relay help:

RelayValue specifies whether the relay is configured to move the motor in a forward or reverse direction.

Off (0) (Default) Specifies that the motors are off.

On (1) Specifies that the motors are on.

Forward (2) Specifies that the relay moves the motors in a forward direction.

Reverse (3) Specifies that the relay moves the motors in a reverse direction.
Ok instead of specifying 1,0,2, or 3 i right clicked the left side of the relay terminal and created a constant. I put the constant to the left of the select and wired it to the true statement. Would that be okay or does it have to be a numeric value as in 1,2,3, or 0?
__________________
Reply With Quote