Page 1 of 1

Relay control

Posted: Sun Sep 16, 2012 6:31 pm
by DrewPalmer04
Anyway to trigger relay2 when PWM actinic <15%?

Re: Relay control

Posted: Sun Sep 16, 2012 6:35 pm
by rimai

Code: Select all

if (ReefAngel.PWM.GetActinicValue()<15) ReefAngel.Relay.On(Port2);

Re: Relay control

Posted: Sun Sep 16, 2012 7:13 pm
by DrewPalmer04
Sweet. I had it right for a change lol