Quote:
Originally Posted by RamZ
I don't think you initialized your compressor correctly.
There are three necessary values.
Yours is currently "airCompressor = new Compressor(1,1);"
Ours is basically the same, except the values are (1, 1, 1).
Try that out.
|
I just took a look at the Javadoc for the compressor and I only see 2 constructors, one with 2 parameters(int pressureSwitchChannel, int compressorRelayChannel) and one with 4(int pressureSwitchSlot, int pressureSwitchChannel, int compresssorRelaySlot, int compressorRelayChannel)