View Single Post
  #3   Spotlight this post!  
Unread 08-11-2011, 07:50
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: a ridiculous reset button

Quote:
Originally Posted by 4AngryNutjobs View Post
Only problem is that the switch value is always reading true, stopping our motor even before it begins to move. This happens even when the switch is unplugged. Any suggestions as to why our program does this?
If you describe what kind of switch it is and how you have it wired, we can help you better.

A typical limit switch for this application should be wired between the (-) and (signal) pins of a Digital Input. The input will indeed always read true with nothing connected, or with the switch open. It will only read false when the switch is closed.
Reply With Quote