RF module and "waves"

Do you have a question on how to do something.
Ask in here.
Post Reply
stephy
Posts: 26
Joined: Sat Jun 02, 2012 1:36 am
Location: Livorno (Italy)

RF module and "waves"

Post by stephy »

Can somebody help me? I can't create waves.....

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 );
  }
But no waves in Smart_TMS, any suggestion?

Another question, if I want to place the pump in Constant mode only for some minutes and not for 1 or more hours?
Stephy

Image
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: RF module and "waves"

Post by rimai »

Try decreasing the duration:

Code: Select all

ReefAngel.RF.SetMode( Smart_TSM,100,6 );
Also, the speed should be between 0-100.
To get the constant mode for minutes, you can use this:

Code: Select all

  if (hour()==10)
  {
    if (minute()<5)
      ReefAngel.RF.SetMode( Constant,75,0 );
    else
      ReefAngel.RF.SetMode( ReefCrest,127,10 );
  }
Roberto.
Post Reply