Hello. I am wondering how can I program a Pneumatic in C++ and C++ Pro. Is the code the same as in Robot C or PROS because I found a conversation about it? Thank you all the help.
Also, if I use it in C++, how would I put it into the robot configuration page?
You can use the vex::digital_out class
vex::digital_out solenoid(Brain.ThreeWirePort.A); solenoid.set(true);