|
Re: Compressor
Yea, we're not in the shop today either. The snow is pretty though...
If the Relay LED corresponding to the Compressor Spike is not lit, then the code isn't ordering the compressor to turn on. With the example code, that LED should go on with only the Pressure Switch wired into DIO 1. Regardless of any other wiring. The Pressure Switch doesn't even have to be tubed to anything.
That'd mean the problem is before your Spike or Compressor wiring.
If that LED is out, then one test would be to use a wire to directly connect the signal and ground pins on DIO 1. That'd take the Pressure Switch out of the loop too, and eliminated it as a culprit.
P.S. Your code execution sounds fine too.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Last edited by Mark McLeod : 10-02-2010 at 17:54.
|