View Single Post
  #14   Spotlight this post!  
Unread 13-02-2004, 09:07
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,567
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Newbie Autonomous Question(s)

Quote:
Originally Posted by Texan
Second, somebody correct me if I'm wrong, the pins are pull ups, meaning that they are normally 1, unless they recieve a signal, which makes them 0. So you need to switch the test for 0s and 1s.
The banner sensors have two signal wires, one of which is Normally Open and one of which is Normally Closed. So, his code is correct (in that aspect), assuming it is wired correctly.