Relay control

Do you have a question on how to do something.
Ask in here.
Post Reply
User avatar
DrewPalmer04
Posts: 818
Joined: Tue May 29, 2012 2:12 pm
Location: Christopher, IL

Relay control

Post by DrewPalmer04 »

Anyway to trigger relay2 when PWM actinic <15%?
Out for now...but not over.

VISIT: Ethernet Module/Wifi Alternative
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Relay control

Post by rimai »

Code: Select all

if (ReefAngel.PWM.GetActinicValue()<15) ReefAngel.Relay.On(Port2);
Roberto.
User avatar
DrewPalmer04
Posts: 818
Joined: Tue May 29, 2012 2:12 pm
Location: Christopher, IL

Re: Relay control

Post by DrewPalmer04 »

Sweet. I had it right for a change lol
Out for now...but not over.

VISIT: Ethernet Module/Wifi Alternative
Post Reply