Go to Post "Find a problem? Think of the three I's: Invent and Innovate to Improve!" - yash101 [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #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
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:28.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi