14#ifndef VEX_PNEUMATIC_CLASS_H
15#define VEX_PNEUMATIC_CLASS_H
34 pneumatic( int32_t index,
bool bPumpEnable =
true );
67 uint32_t _lastCtrlTime;
void pumpOn()
Turn on the pneumatic air pump.
void pumpOff()
Turn off the pneumatic air pump.
void extend(cylinderType id)
extend a pneumatic cylinder
pneumatic(int32_t index, bool bPumpEnable=true)
Creates a new pneumatic object on the port specified by the parameter.
void pump(bool state)
Set the pneumatic air pump to on or off.
void retract(cylinderType id)
retract a pneumatic cylinder
Bumper switch device class
cylinderType
The defined types for pneumatic cylinders.