View Single Post
  #2   Spotlight this post!  
Unread 25-01-2009, 00:28
nathanww nathanww is offline
Hacker
FRC #1678 (Citrus Circuits)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2007
Location: Davis, CA
Posts: 224
nathanww is just really nicenathanww is just really nicenathanww is just really nicenathanww is just really nice
Re: Limit Switch return value

Yes, this should give you a boolean--but depending on the kind of limit switch it is, having the bar pressed down may cause it to be either closed or open. Your best bet is to check it with a multimeter first.
__________________
Get yer robot source code here!
Reply With Quote