Quote:
|
Originally Posted by Anton
I've been to there but I haven;t found anything about programming. are you sure there is something useful for me? or maybe I have just missed it?
|
The "programming" consists of a single line of code. In the
Buttons to Relays section of the default code, well-camouflaged among all the other copying of input switches to output relays, lies this small nugget:
Code:
relay8_fwd = !rc_dig_in18; /* Power pump only if pressure switch is off. */
With this line in
Default_Routine(), the pressure switch wired between ground and digital input 18, and the compressor wired between ground and the FWD output of a Spike connected to the relay 8 output, you're golden.