Quote:
Originally Posted by hasin5
Do you think if I get this fixed, the code should work?
What if I do:
Compressor compressor1 = new Compressor(1,1); //#
Relay spike = new Relay (1,2); //#
|
This will keep there from being conflicts. Make sure your electrical team moves the compressor to relay 1 and the spike to relay 2.
You can look at the relay LEDs on the Digital Sidecar to see if the code is working, even if there isn't a relay connected.