View Single Post
  #2   Spotlight this post!  
Unread 10-02-2010, 14:13
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: Joystick Button One-Shot (a.k.a. Rising Edge) Detection

Quote:
Originally Posted by D Peterschick View Post
Is there anyway to use a limit switch to stop a motor and then be able to restart with Joystick?
Do you mean to use the joystick to move the motor in the opposite direction, away from the limit? That's easy. Just have the limit switch keep the motor control value from going less* than zero.

Or do you mean to use the joystick to cause the motor to ignore the limit and go past it? You can do it, but it goes against the usual purpose of a limit switch, and I'd have to know more about the system before giving any advice.

(* or greater, depending on wiring)
Reply With Quote