|
Pneumatics and C++
I am a mentor for a Rookie team. We are almost built and coded but are having a few issues finding the last bits of code we need.
The main problem is with the pneumatics. I can't seem to find examples of pneumatic code in c++ anywhere for us to start from.
Can anyone recommended a good source for pneumatic c++ code or give an example of the commands we need to use.
We are only using one solenoid for our grabber mechanism. I need to know the code structure to define the solenoid and how to use the function to get it to switch position when i call it.
Also the code for the compressor, spike, and auto shut off would be great too as we have just noticed that even with the compressor off the bot we still need this attached to charge the cylinder.
|