VEXcode V5 text coding for pneumatic cylinder

We purchased VEX Pneumatics Kit - double acting cylinders and can not figure out the correct code to operate the cylinders. We have tried code listed in the forum; however, it does not seem to work for us. Can anyone help this learning team (class in school) by just writing the code for us? I am the teacher . . . not ashamed of my learning curve. Any help will be gratefully accepted.

Our program is VEXcode V5 text

Are you using C++ or Python?

C++ Our software is VEXcode V5 text

For VEXcode V5 Pro, you just use .open() and .close(). I don’t know about VEXcode V5 text C++ but I would imagine it would be the same.

1 Like

https://kb.vex.com/hc/en-us/articles/360059343891-Configuring-3-Wire-Digital-In-and-Digital-Out-Devices-in-VEXcode-V5

2 Likes

1 Like

Please don’t revive old threads, especially if there is no reason to do so. Mods

2 Likes