I haven’t done VEX in a couple years and currently trying to remember my way round pneumatics - I’ve got a single kit and want to use two pistons. One for a descorer and one for match loading mech. Please can someone give me an idea of how to connect everything? Also will need help with the code.
I think this article will help you out.
For coding, the best way is to initialize a 3-Wire Digital Out. Setting the power level to low or high will engage or disengage the piston according to how the tubing is connected.
- In python, use this:
- my_piston.set(False) # or True
- I believe C++ is this:
- my_piston.set(false); // or true