Help With Programming Pneumatics?

Hi,

I am using EasyC. Does anyone know how to program a pneumatics kit into an autonomous?

Thanks.

SetDigitalOutput( # , 1 );
or
SetDigitalOutput( # , 0 );
Where # is an output port in your microcontroller.
Depending on which way you plug your tubes in, the cylinder will fire a different direction.

Thanks for the help, we werent really sure on this one.