just getting everything mounted and float switches soldered up. I gotta glue some acrylic for mounts, but Im into dabbling with the code etc. Im getting there, Ill post the whole thing when I get it together. I want to turn on a relay for X minutes every Y minutes throughout the day? any ideas?
also how would you know when you cut and past from others examples, what features you would include in the features.h??
peristalic dosing pump
Re: peristalic dosing pump
Try this:
3600 is your Y in seconds and 300 is you X in seconds.
Code: Select all
if (now()%3600<300) ReefAngel.Relay.On(Port1); else ReefAngel.Relay.Off(Port1);
Roberto.
Re: peristalic dosing pump
Read through the "master" features.h file OR read the descriptions inside RAGen.duck wrote:also how would you know when you cut and past from others examples, what features you would include in the features.h??
https://github.com/curtbinder/ReefAngel ... Features.h
That should give you a better idea about what features are available and how they are used.
Re: peristalic dosing pump
awesome, gunna try it out thanks