Help With Programming Pneumatics?


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


SetDigitalOutput( # , 1 );
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.