How to code for Pneumatic in VCS

#1

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.

0 Likes

#2

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

0 Likes

#3

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

0 Likes

#4

I had this question myself.

Should help

2 Likes

How can I program a piston? In robotc
#5

Thank you for the help.

0 Likes