I have a few questions so I can finish working on some programming issues before tomorrow's Boiler Maker regional.
A) Limit Switches - My team wants to use to limit switches to control our climbing device. Like once one limit switch is pushed the motor can no longer go backwards. I have a basic understanding of limit switches from searching the forums but I don't know how you would incorporate that into the teleop vi. How would go about saying okay once the DIO input is true it prevents the motor from going backwards?
B)Encoder/Autonomous - I was also asked to try to make an autonomous program that goes forward for 4inches and kicks then goes forward 40inches and kick. For one is this possible? If so how would go about getting the encoder data and then setting it to run 4inches > kick > move 40 inches forward > kick > finish.
C) Toggle Button Issue - I have recently coded one of our buttons to toggle open and close one of our solenoids. The issue is it is really random in the way it acts. It will sometimes open sometimes close or it will open multiple times in one push. Yeah not pretty. I coded it just like the one found
here (thanks team 358 for the wonderful resources!)
Again sorry for the all questions it's just I'm trying to get a basic idea of how to run all of this and get it done by myself lol. (yay for my first year)