View Single Post
  #2   Spotlight this post!  
Unread 15-02-2014, 01:21
NWChen's Avatar
NWChen NWChen is offline
Alum
no team
 
Join Date: Oct 2012
Rookie Year: 2012
Location: New York City
Posts: 205
NWChen is a splendid one to beholdNWChen is a splendid one to beholdNWChen is a splendid one to beholdNWChen is a splendid one to beholdNWChen is a splendid one to beholdNWChen is a splendid one to beholdNWChen is a splendid one to behold
Re: [Urgent] Compressor Problem either Programming or Wiring technical problems

Why is your
Code:
//compressor.start();
commented out in robotInit()? You need this to enable the compressor.

The way you have it in operatorControl(), the compressor will start every time you iterate through your while loop. Try moving this statement outside of the loop.

Ensure that your pressure switch is in DIO port 5 and your compressor relay is in Relay port 5.

Last edited by NWChen : 15-02-2014 at 01:27.