|
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
|