wavemaker question
Posted: Thu Jan 31, 2013 8:37 pm
I have two tanks, each with two power heads, on separate relays. Because I want flow in each tank should the power go off, each tank has a powerhead on both relays. What I am trying to do is have them to run opposite of each other. I wrote this code:
What happens is tank DT (Display Tank) works fine, while tank GT (grow tank) port 6 doesn't come on at all and box1_port6 comes on and stays on. I probably can't have two WavemakerRandoms. How can I change this up to do what I want?
Code: Select all
ReefAngel.WavemakerRandom( Port5,60,100 );
ReefAngel.Relay.Set( Box1_Port5, !ReefAngel.Relay.Status( Port5 ) ); //Randomize DT powerheads
ReefAngel.WavemakerRandom( Port6,60,100 );
ReefAngel.Relay.Set( Box1_Port6, !ReefAngel.Relay.Status( Port6 ) ); //Randomize GT powerheads