will someone double check my custom code for my vortechs

Basic / Standard Reef Angel hardware
Post Reply
Addicted2Coral
Posts: 30
Joined: Wed Jul 04, 2012 11:52 am

will someone double check my custom code for my vortechs

Post by Addicted2Coral »

i know i could just go and try it, but my tank is so far from my computer i dont want to get there and it not be right..
also for the ato i am running two switches.. one for the off and on of the pump and another for a fail safe, i want the fail safe to shut down the ato pump until i reset it.. is that the right code for it also.. i am trying really hard to get this.. and so far its simple, but at the same time its so much info i am having a hard time computing it.. i get half way thru the list of vortech modes and i think if one thing is wrong its gonna mess it all up..

i am still and probly will ever more will be a newb go easy on me..

ReefAngel.Relay.Set(Port8,!ReefAngel.HighATO.IsActive());
if (hour()>=11 && hour()<13) //
{
ReefAngel.RF.SetMode( Lagoon,60,100 );
}
if (hour()>=13 && hour()<15) //
{
ReefAngel.RF.SetMode( LongPulse,100,50 );
}
if (hour()>=15 && hour()<17) //
{
ReefAngel.RF.SetMode( ReefCrest,60,100 );
if (hour()>=17 && hour()<18) //
{
ReefAngel.RF.SetMode( Lagoon,60,50 );
}
if (hour()>=18 && hour()<23) //
{
ReefAngel.RF.SetMode( Lagoon,40,100 );
}
if (hour()>=23 && hour()<11) //
{
ReefAngel.RF.SetMode( Constant,25,100 );
}}
// Constant
// Lagoon
// ReefCrest
// ShortPulse 1=10ms
// LongPulse 1=1s
// NutrientTransport 1=10ms
// TidalSwell
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: will someone double check my custom code for my vortechs

Post by rimai »

Looks good :)
Roberto.
Post Reply