View Single Post
  #5   Spotlight this post!  
Unread 06-02-2011, 15:05
bladetech932's Avatar
bladetech932 bladetech932 is offline
Programmer of awesome
AKA: Jon
FRC #0932 (Circuit Chargers)
Team Role: College Student
 
Join Date: May 2009
Rookie Year: 2009
Location: Tulsa
Posts: 242
bladetech932 is on a distinguished road
Talking Re: Limit Switch and Button

For making the limit switch stop the motor only one way you want the in range and coerce function found in the comparison pallet. This will allow you to set the upper limit or lower limit to zero when the limit switch is pressed depending on what way you don't want the motor to spin (upper is positive and lower is negative direction)
__________________
Expect the best, Prepare for the worst