View Single Post
  #1   Spotlight this post!  
Unread 07-02-2014, 23:01
Wildcats1378 Wildcats1378 is offline
Registered User
no team
 
Join Date: Jan 2012
Rookie Year: 2011
Location: hawaii
Posts: 93
Wildcats1378 is an unknown quantity at this point
Waiting Until Limit Switch Is Pressed

Hello everyone!

So I am the programmer mentor and team lead for the Wildcats #3878 here in Hawaii.

I am writing a piece of code for our shooter that will continue moving a motor until it hits a certain limit switch, and then continues onto the next frame.

I am writing the code in an autonomous program as part of a flat sequence to $@#$@#$@#$@# the catapult to a set area based on limit switch, to determine the power of the shot we want.

How might this be accomplished?

Thanks everyone,
#3878 Head Programmer