How to code for Pneumatic in VCS

This is my first time code for pneumatic and I have no idea how to get a basic code set up going for the Vex Coding Studio for the V5.

You can use generic digital objects to control pneumatics. Sorry I can’t be more specific since I haven’t used pneumatics with v5.

https://help.vexcodingstudio.com/#pro

Pneumatics are very simple- they act as a digital output where 1 causes extension and 0 retraction. I have not personally used VCS, but according to the documentation it looks like digital_out.set() is what you want.

https://help.vexcodingstudio.com/#cpp/namespacevex/classvex_1_1digital__out/set

I had this question myself.

Should help

2 Likes

Thank you for the help.