This is my code for vortech:
Code: Select all
ReefAngel.RF.UseMemory = false;
if ( ReefAngel.RF.Mode != Feeding_Start)
{
if (hour()==10)
ReefAngel.RF.SetMode( ReefCrest,127,10 );
else if (hour()>=11 && hour()<13)
ReefAngel.RF.SetMode( ReefCrest,191,10 );
// else if (hour()>=13 && hour()<14)
// ReefAngel.RF.SetMode( Constant,30,10 );
else if (hour()>=18 && hour()<19)
ReefAngel.RF.SetMode( Smart_TSM,255,50 );
else if (hour()>=21 && hour()<22)
ReefAngel.RF.SetMode( ReefCrest,127,10 );
else if (hour()>=22 || hour()<9)
ReefAngel.RF.SetMode( Night,95,10 );
else
ReefAngel.RF.SetMode( ReefCrest,191,10 );
}
Another question, if I want to place the pump in Constant mode only for some minutes and not for 1 or more hours?