switching on at intervals

New members questions
Post Reply
marcoc
Posts: 18
Joined: Sat Dec 05, 2015 3:24 pm
Location: Rome, Italy

switching on at intervals

Post by marcoc »

Hi,
I would like to activate the magnetic kalkwasser mixer at given intervals, say 20 sec every 3 hours.
How can I do it? Many thanks.

Marco
User avatar
lnevo
Posts: 5422
Joined: Fri Jul 20, 2012 9:42 am

Re: switching on at intervals

Post by lnevo »

ReefAngel.Relay.Set(Port8,now()%10800<20);

Change port 8 to your port.
User avatar
RonaldCony
Posts: 2
Joined: Sun Aug 28, 2016 3:36 pm
Location: Российская Федерация
Contact:

switching on at intervals

Post by RonaldCony »

Thanks for all the help i will check all that out.
Post Reply