|
Re: Pneumatics & Java
Assuming you are using the PCM.
You don't need to code the compressor unless you want it specially off rather than controlled by the pressure switch. The compressor is actually controlled by the PCM. The Roborio just enables it.
You don't need to code the pressure switch
Not really sure about this one. I think you need a solenoid class in the code to enable the compressor. In any case you need to direct the output to the PCM and the relay ports on the roborio. (Assuming you are using the PCM and not a Spike realy.
PWM ports have nothing to do with pneumatics.
__________________
If you don't know what you should hook up then you should read a data sheet
Last edited by FrankJ : 28-04-2016 at 16:22.
|