Pneumatics/ Piston Coding for vrc newbie

My team tells me that pneumatics need special coding, and pistons can only be done in text.
Could anyone give me a few tips when programming the both of them?


Please do some research on the forums before asking questions. This has been asked and answered many times. Honestly though I did look for it myself and it wasn’t exactly EASY, so I will give you that.


If you have a solenoid called “clamp”:

clamp.set(true); // makes air cylinder (piston) go one way
clamp.set(false); // makes air cylinder (piston) go another way

It is really simple, there is nothing more than that.

Also, ensure that you do adequate research before asking questions.

1 Like