View Single Post
  #6   Spotlight this post!  
Unread 16-02-2010, 21:52
oddjob oddjob is offline
Registered User
no team
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Earth
Posts: 118
oddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to behold
Re: Compressor won't start

Quote:
Originally Posted by kennypu View Post
I'm quite sure everything is wired correctly....the spike has power and the pwm is in relay 1.
Your code:
Code:
    compressor(4,2)
The compressor spike should be on relay output #2, or change the code to use Relay #1. The pressure switch should be on digital port #4, but you can leave the port unconnected until you get the compressor to turn on.
Reply With Quote