View Single Post
  #1   Spotlight this post!  
Unread 04-02-2013, 18:41
ronitt ronitt is offline
Registered User
FRC #4627
 
Join Date: Jan 2013
Location: Canada
Posts: 3
ronitt is an unknown quantity at this point
Programming the Air Compressor and Pressure Switch

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
Reply With Quote