Does anyone know the VexCode C++ autonomous-section code for double-acting pneumatic
A quick search using the “search bar” pops up this post: VexCode pro v5 Pneumatics
Perhaps that will help.
There’s also this: Dankest Vex Memes? - #4813 by kmmohn
3 Likes
create a function
this is a toggle function for driver with one button
void pneumatic(){
backStatus = !backStatus;
Back.set(backStatus);
}
and during autonomous
pneumatic();
or you could do this
pneumatic.set(false); and pneumatic.set(true); as a open and close
Thank you so much, we really appreciate your help.