View Single Post
  #4   Spotlight this post!  
Unread 19-02-2006, 16:23
CarpeDiem CarpeDiem is offline
Registered User
FRC #0135
 
Join Date: Dec 2005
Location: Indiana
Posts: 37
CarpeDiem is an unknown quantity at this point
Re: Reading switches during Autonomous

If i put switches on straight to the RC i need ot know is a digital only 0 or 1 with a switch. what i am trying to say if i have a switch in digital 1 and two would i say
if (rc_dig_in01){
rc_dig_in02=0;
}

or what would i use to tell it i dont want digital 2 on.