View Single Post
  #2   Spotlight this post!  
Unread 07-02-2014, 23:14
wireties's Avatar
wireties wireties is offline
Principal Engineer
AKA: Keith Buchanan
FRC #1296 (Full Metal Jackets)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Rockwall, TX
Posts: 1,170
wireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond repute
Send a message via AIM to wireties
Re: Waiting Until Limit Switch Is Pressed

Put it in a loop? I'm not sure how specific to get - depends on what framework you are using. Something like this..

...
while(limit input is not asserted and still in auto mode)
{
set motor speed
}

stop motor
...
__________________
Fast, cheap or working - pick any two!