I am from a rookie team in Canada, and we are having trouble programming the air compressor and the pressure switch. I have a background in programming, and I am fairly fluent with Java and have been using the FRC WPI library Documentation. Here is part of my code:
import edu.wpi.first.wpilibj.Compressor;
Compressor compress = new Compressor(1, 1);
public void robotInit(){
compress.start();
}
It might also be something to do with the wiring. Here is the thread about the wiring in the Electrical Section:
http://www.chiefdelphi.com/forums/sh...d.php?t=112746