I have coded our arm to extend, but I do not know how to program limit switches. Here is our arm extend code http://imgur.com/R1yyDFW
What motor controllers are you using?
Can you post a picture showing how your limit switches are mounted?
We are using a spark motor controller and here are the two limit switches
we would like them so you cant go too far either way
I believe you can wire the limit switch directly to the Spark, and the Spark will handle it for you. No coding necessary.
I can’t be sure, but it looks like the limit switch is in harm’s way. You don’t want to do that.
Read this thread:
ok thank you
Do yourself a big favor and read these before proceeding: