Questions on RF Vortech
Questions on RF Vortech
Hi. I need some help with the RF. I would like to code a couple of things and don't know how. I want to be able to set the mode of my MP40s when I enter into feed mode (e.g., lower intensity to a certain amount).
I would also want to change the mode the MPs are running throughout the day. E.g., increase the strength, use short pulse at some point and then nutrient transport, random, etc. Where can I read about how to do this?
thanks!
I would also want to change the mode the MPs are running throughout the day. E.g., increase the strength, use short pulse at some point and then nutrient transport, random, etc. Where can I read about how to do this?
thanks!
Re: Questions on RF Vortech
lnevo has done quite a bit of work related to this:
http://forum.reefangel.com/viewtopic.php?f=11&t=2328
I use a simpler code:
This code will place the vortech into long pulse between 3pm and 6pm and into reefcrest between 10pm and 7am and into short pulse the rest of the time.
http://forum.reefangel.com/viewtopic.php?f=11&t=2328
I use a simpler code:
Code: Select all
if (ReefAngel.DisplayedMenu!=FEEDING_MODE || ReefAngel.DisplayedMenu!=WATERCHANGE_MODE)
{
if (hour()>=15 && hour()<=17)
{
ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(LongWave,100,3);
}
else if (hour()>=22 || hour()<7)
{
ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(ReefCrest,40,0);
}
else
{
ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(ShortWave,100,10);
}
}
Roberto.
Re: Questions on RF Vortech
Thanks Roberto.
Can you help me understand the first if statement. ( if (ReefAngel.DisplayedMenu!=FEEDING_MODE || ReefAngel.DisplayedMenu!=WATERCHANGE_MODE)) Is the intent here to say if it is not under feeding or waterchange modes? I am not very familiar with the way to write the ifs in Arduino. Are the double vertical lines an OR? Where is the negative? Sorry for the newbie questions, if you can point me somewhere I can read I can do that.
One last one. If I want to have the default state to be the one in the memory, all I need to do is change the last 2 lines (ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(ShortWave,100,10);)
for: ReefAngel.RF.UseMemory=true
Is that correct? And then what is the numerical significance of the mode in the memory (e.g., 0 = short pulse, 1 = ...)
Thanks!
Can you help me understand the first if statement. ( if (ReefAngel.DisplayedMenu!=FEEDING_MODE || ReefAngel.DisplayedMenu!=WATERCHANGE_MODE)) Is the intent here to say if it is not under feeding or waterchange modes? I am not very familiar with the way to write the ifs in Arduino. Are the double vertical lines an OR? Where is the negative? Sorry for the newbie questions, if you can point me somewhere I can read I can do that.
One last one. If I want to have the default state to be the one in the memory, all I need to do is change the last 2 lines (ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(ShortWave,100,10);)
for: ReefAngel.RF.UseMemory=true
Is that correct? And then what is the numerical significance of the mode in the memory (e.g., 0 = short pulse, 1 = ...)
Thanks!
Re: Questions on RF Vortech
Correct 
! sign means not
|| sign means OR
&& sign means AND
http://arduino.cc/en/Reference/HomePage
Correct also on the 2nd question.
The defines are in Globals.h:

! sign means not
|| sign means OR
&& sign means AND
http://arduino.cc/en/Reference/HomePage
Correct also on the 2nd question.
The defines are in Globals.h:
Code: Select all
#define Constant 0
#define Lagoon 1
#define Random1 1 // Lagoonal
#define ReefCrest 2
#define Random2 2 // Reef Crest
#define ShortPulse 3
#define ShortWave 3
#define LongPulse 4
#define LongWave 4
#define NutrientTransport 5
#define Smart_NTM 5 // Nutrient Transport Mode
#define TidalSwell 6
#define Smart_TSM 6 // Tidal Swell Mode
Roberto.
Re: Questions on RF Vortech
Thanks! This is great, will allow me to understand a little better 

Re: Questions on RF Vortech
Roberto,
Can you take a look at this code and let me know if it looks okay? I've tried to write the code for my 2 MP10s by copying and piecing-together from other posts. I'm just not sure if I got it right, especially stuff like spacing and these brackets "{}"
Can you take a look at this code and let me know if it looks okay? I've tried to write the code for my 2 MP10s by copying and piecing-together from other posts. I'm just not sure if I got it right, especially stuff like spacing and these brackets "{}"
void loop()
{
ReefAngel.StandardHeater( Port3,775,780 );
ReefAngel.StandardHeater( Port4,775,780 );
if (ReefAngel.DisplayedMenu!=FEEDING_MODE || ReefAngel.DisplayedMenu!=WATERCHANGE_MODE)
if (hour()>=8 && hour()<10)
{
ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(ReefCrest,60,20);
}
else if (hour()>=10 || hour()<12)
{
ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(ReefCrest,70,20);
}
else if (hour()>=12 || hour()<18)
{
ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(ReefCrest,80,20);
}
else if (hour()>=18 || hour()<20)
{
ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(ReefCrest,70,20);
}
else if (hour()>=20 || hour()<22)
{
ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(ReefCrest,60,20);
}
else if (hour()>=22 || hour()<8)
{
ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(ReefCrest,50,20);
}
}
////// Place your custom code below here
////// Place your custom code above here
// This should always be the last line
ReefAngel.Portal( "DeeAnnMG" );
ReefAngel.ShowInterface();
}
Re: Questions on RF Vortech
Not yet, I'll give it a try tonight and let you know how it went. I wanted to do something like Lee did with the tidal flow, but I think I might need to go back to college and take some code classes to figure his code out. 

Re: Questions on RF Vortech
The hardest thing about my code and maybe I need to add a post or thread to expalin it better is my extensive use of custom memory variables...
The functions are actually pretty easy to add since they're self contained, but since everyone is doing different things it's not always such an easy drop-in with DCPump / RF /whatever people want to do.
The functions are actually pretty easy to add since they're self contained, but since everyone is doing different things it's not always such an easy drop-in with DCPump / RF /whatever people want to do.
Re: Questions on RF Vortech
I finally got around to uploading my "program" and of course there is something wrong with it. I tried to upload it ad got this error.

And of course I have no idea what the problem is. Can anyone help? Here is my code:
and this was is the black text box at the bottom:

And of course I have no idea what the problem is. Can anyone help? Here is my code:
#include <ReefAngel_Features.h>
#include <Globals.h>
#include <RA_Wifi.h>
#include <Wire.h>
#include <OneWire.h>
#include <Time.h>
#include <DS1307RTC.h>
#include <InternalEEPROM.h>
#include <RA_NokiaLCD.h>
#include <RA_ATO.h>
#include <RA_Joystick.h>
#include <LED.h>
#include <RA_TempSensor.h>
#include <Relay.h>
#include <RA_PWM.h>
#include <Timer.h>
#include <Memory.h>
#include <InternalEEPROM.h>
#include <RA_Colors.h>
#include <RA_CustomColors.h>
#include <Salinity.h>
#include <RF.h>
#include <IO.h>
#include <ORP.h>
#include <AI.h>
#include <PH.h>
#include <WaterLevel.h>
#include <Humidity.h>
#include <DCPump.h>
#include <ReefAngel.h>
////// Place global variable code below here
////// Place global variable code above here
void setup()
{
// This must be the first line
ReefAngel.Init(); //Initialize controller
// Ports toggled in Feeding Mode
ReefAngel.FeedingModePorts = Port1Bit | Port2Bit | Port5Bit | Port6Bit;
// Ports toggled in Water Change Mode
ReefAngel.WaterChangePorts = Port1Bit | Port2Bit | Port3Bit | Port4Bit | Port5Bit | Port6Bit | Port7Bit | Port8Bit;
// Ports toggled when Lights On / Off menu entry selected
ReefAngel.LightsOnPorts = 0;
// Ports turned off when Overheat temperature exceeded
ReefAngel.OverheatShutoffPorts = Port3Bit | Port4Bit | Port7Bit;
// Use T1 probe as temperature and overheat functions
ReefAngel.TempProbe = T1_PROBE;
ReefAngel.OverheatProbe = T1_PROBE;
// Set the Overheat temperature setting
InternalMemory.OverheatTemp_write( 800 );
// Ports that are always on
ReefAngel.Relay.On( Port1 );
ReefAngel.Relay.On( Port2 );
ReefAngel.Relay.On( Port5 );
ReefAngel.Relay.On( Port6 );
ReefAngel.Relay.On( Port7 );
////// Place additional initialization code below here
////// Place additional initialization code above here
}
void loop()
{
ReefAngel.StandardHeater( Port3,775,780 );
ReefAngel.StandardHeater( Port4,775,780 );
if (ReefAngel.DisplayedMenu!=FEEDING_MODE || ReefAngel.DisplayedMenu!=WATERCHANGE_MODE)
if (hour()>=8 && hour()<10)
{
ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(ReefCrest,60,20);
}
else if (hour()>=10 || hour()<12)
{
ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(ReefCrest,70,20);
}
else if (hour()>=12 || hour()<18)
{
ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(ReefCrest,80,20);
}
else if (hour()>=18 || hour()<20)
{
ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(ReefCrest,70,20);
}
else if (hour()>=20 || hour()<22)
{
ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(ReefCrest,60,20);
}
else if (hour()>=22 || hour()<8)
{
ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(ReefCrest,50,20);
}
}
////// Place your custom code below here
////// Place your custom code above here
// This should always be the last line
ReefAngel.Portal( "DeeAnnMG" );
ReefAngel.ShowInterface();
}
and this was is the black text box at the bottom:
#include <ReefAngel_Features.h>
#include <Globals.h>
#include <RA_Wifi.h>
#include <Wire.h>
#include <OneWire.h>
#include <Time.h>
#include <DS1307RTC.h>
#include <InternalEEPROM.h>
#include <RA_NokiaLCD.h>
#include <RA_ATO.h>
#include <RA_Joystick.h>
#include <LED.h>
#include <RA_TempSensor.h>
#include <Relay.h>
#include <RA_PWM.h>
#include <Timer.h>
#include <Memory.h>
#include <InternalEEPROM.h>
#include <RA_Colors.h>
#include <RA_CustomColors.h>
#include <Salinity.h>
#include <RF.h>
#include <IO.h>
#include <ORP.h>
#include <AI.h>
#include <PH.h>
#include <WaterLevel.h>
#include <Humidity.h>
#include <DCPump.h>
#include <ReefAngel.h>
////// Place global variable code below here
////// Place global variable code above here
void setup()
{
// This must be the first line
ReefAngel.Init(); //Initialize controller
// Ports toggled in Feeding Mode
ReefAngel.FeedingModePorts = Port1Bit | Port2Bit | Port5Bit | Port6Bit;
// Ports toggled in Water Change Mode
ReefAngel.WaterChangePorts = Port1Bit | Port2Bit | Port3Bit | Port4Bit | Port5Bit | Port6Bit | Port7Bit | Port8Bit;
// Ports toggled when Lights On / Off menu entry selected
ReefAngel.LightsOnPorts = 0;
// Ports turned off when Overheat temperature exceeded
ReefAngel.OverheatShutoffPorts = Port3Bit | Port4Bit | Port7Bit;
// Use T1 probe as temperature and overheat functions
ReefAngel.TempProbe = T1_PROBE;
ReefAngel.OverheatProbe = T1_PROBE;
// Set the Overheat temperature setting
InternalMemory.OverheatTemp_write( 800 );
// Ports that are always on
ReefAngel.Relay.On( Port1 );
ReefAngel.Relay.On( Port2 );
ReefAngel.Relay.On( Port5 );
ReefAngel.Relay.On( Port6 );
ReefAngel.Relay.On( Port7 );
////// Place additional initialization code below here
////// Place additional initialization code above here
}
void loop()
{
ReefAngel.StandardHeater( Port3,775,780 );
ReefAngel.StandardHeater( Port4,775,780 );
if (ReefAngel.DisplayedMenu!=FEEDING_MODE || ReefAngel.DisplayedMenu!=WATERCHANGE_MODE)
if (hour()>=8 && hour()<10)
{
ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(ReefCrest,60,20);
}
else if (hour()>=10 || hour()<12)
{
ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(ReefCrest,70,20);
}
else if (hour()>=12 || hour()<18)
{
ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(ReefCrest,80,20);
}
else if (hour()>=18 || hour()<20)
{
ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(ReefCrest,70,20);
}
else if (hour()>=20 || hour()<22)
{
ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(ReefCrest,60,20);
}
else if (hour()>=22 || hour()<8)
{
ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(ReefCrest,50,20);
}
}
////// Place your custom code below here
////// Place your custom code above here
// This should always be the last line
ReefAngel.Portal( "DeeAnnMG" );
ReefAngel.ShowInterface();
}
Re: Questions on RF Vortech
You had one extra }
Try this:
Try this:
Code: Select all
#include <ReefAngel_Features.h>
#include <Globals.h>
#include <RA_Wifi.h>
#include <Wire.h>
#include <OneWire.h>
#include <Time.h>
#include <DS1307RTC.h>
#include <InternalEEPROM.h>
#include <RA_NokiaLCD.h>
#include <RA_ATO.h>
#include <RA_Joystick.h>
#include <LED.h>
#include <RA_TempSensor.h>
#include <Relay.h>
#include <RA_PWM.h>
#include <Timer.h>
#include <Memory.h>
#include <InternalEEPROM.h>
#include <RA_Colors.h>
#include <RA_CustomColors.h>
#include <Salinity.h>
#include <RF.h>
#include <IO.h>
#include <ORP.h>
#include <AI.h>
#include <PH.h>
#include <WaterLevel.h>
#include <Humidity.h>
#include <DCPump.h>
#include <ReefAngel.h>
////// Place global variable code below here
////// Place global variable code above here
void setup()
{
// This must be the first line
ReefAngel.Init(); //Initialize controller
// Ports toggled in Feeding Mode
ReefAngel.FeedingModePorts = Port1Bit | Port2Bit | Port5Bit | Port6Bit;
// Ports toggled in Water Change Mode
ReefAngel.WaterChangePorts = Port1Bit | Port2Bit | Port3Bit | Port4Bit
| Port5Bit | Port6Bit | Port7Bit | Port8Bit;
// Ports toggled when Lights On / Off menu entry selected
ReefAngel.LightsOnPorts = 0;
// Ports turned off when Overheat temperature exceeded
ReefAngel.OverheatShutoffPorts = Port3Bit | Port4Bit | Port7Bit;
// Use T1 probe as temperature and overheat functions
ReefAngel.TempProbe = T1_PROBE;
ReefAngel.OverheatProbe = T1_PROBE;
// Set the Overheat temperature setting
InternalMemory.OverheatTemp_write( 800 );
// Ports that are always on
ReefAngel.Relay.On( Port1 );
ReefAngel.Relay.On( Port2 );
ReefAngel.Relay.On( Port5 );
ReefAngel.Relay.On( Port6 );
ReefAngel.Relay.On( Port7 );
////// Place additional initialization code below here
////// Place additional initialization code above here
}
void loop()
{
ReefAngel.StandardHeater( Port3,775,780 );
ReefAngel.StandardHeater( Port4,775,780 );
if (ReefAngel.DisplayedMenu!=FEEDING_MODE ||
ReefAngel.DisplayedMenu!=WATERCHANGE_MODE)
if (hour()>=8 && hour()<10)
{
ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(ReefCrest,60,20);
}
else if (hour()>=10 || hour()<12)
{
ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(ReefCrest,70,20);
}
else if (hour()>=12 || hour()<18)
{
ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(ReefCrest,80,20);
}
else if (hour()>=18 || hour()<20)
{
ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(ReefCrest,70,20);
}
else if (hour()>=20 || hour()<22)
{
ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(ReefCrest,60,20);
}
else if (hour()>=22 || hour()<8)
{
ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(ReefCrest,50,20);
}
////// Place your custom code below here
////// Place your custom code above here
// This should always be the last line
ReefAngel.Portal( "DeeAnnMG" );
ReefAngel.ShowInterface();
}
Roberto.
Re: Questions on RF Vortech
That worked. Thanks!
Re: Questions on RF Vortech
DeeAnnMG wrote:I finally got around to uploading my "program" and of course there is something wrong with it. I tried to upload it ad got this error.
And of course I have no idea what the problem is. Can anyone help? Here is my code:
#include <ReefAngel_Features.h>
#include <Globals.h>
#include <RA_Wifi.h>
#include <Wire.h>
#include <OneWire.h>
#include <Time.h>
#include <DS1307RTC.h>
#include <InternalEEPROM.h>
#include <RA_NokiaLCD.h>
#include <RA_ATO.h>
#include <RA_Joystick.h>
#include <LED.h>
#include <RA_TempSensor.h>
#include <Relay.h>
#include <RA_PWM.h>
#include <Timer.h>
#include <Memory.h>
#include <InternalEEPROM.h>
#include <RA_Colors.h>
#include <RA_CustomColors.h>
#include <Salinity.h>
#include <RF.h>
#include <IO.h>
#include <ORP.h>
#include <AI.h>
#include <PH.h>
#include <WaterLevel.h>
#include <Humidity.h>
#include <DCPump.h>
#include <ReefAngel.h>
////// Place global variable code below here
////// Place global variable code above here
void setup()
{
// This must be the first line
ReefAngel.Init(); //Initialize controller
// Ports toggled in Feeding Mode
ReefAngel.FeedingModePorts = Port1Bit | Port2Bit | Port5Bit | Port6Bit;
// Ports toggled in Water Change Mode
ReefAngel.WaterChangePorts = Port1Bit | Port2Bit | Port3Bit | Port4Bit | Port5Bit | Port6Bit | Port7Bit | Port8Bit;
// Ports toggled when Lights On / Off menu entry selected
ReefAngel.LightsOnPorts = 0;
// Ports turned off when Overheat temperature exceeded
ReefAngel.OverheatShutoffPorts = Port3Bit | Port4Bit | Port7Bit;
// Use T1 probe as temperature and overheat functions
ReefAngel.TempProbe = T1_PROBE;
ReefAngel.OverheatProbe = T1_PROBE;
// Set the Overheat temperature setting
InternalMemory.OverheatTemp_write( 800 );
// Ports that are always on
ReefAngel.Relay.On( Port1 );
ReefAngel.Relay.On( Port2 );
ReefAngel.Relay.On( Port5 );
ReefAngel.Relay.On( Port6 );
ReefAngel.Relay.On( Port7 );
////// Place additional initialization code below here
////// Place additional initialization code above here
}
void loop()
{
ReefAngel.StandardHeater( Port3,775,780 );
ReefAngel.StandardHeater( Port4,775,780 );
if (ReefAngel.DisplayedMenu!=FEEDING_MODE || ReefAngel.DisplayedMenu!=WATERCHANGE_MODE)
if (hour()>=8 && hour()<10)
{
ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(ReefCrest,60,20);
}
else if (hour()>=10 || hour()<12)
{
ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(ReefCrest,70,20);
}
else if (hour()>=12 || hour()<18)
{
ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(ReefCrest,80,20);
}
else if (hour()>=18 || hour()<20)
{
ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(ReefCrest,70,20);
}
else if (hour()>=20 || hour()<22)
{
ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(ReefCrest,60,20);
}
else if (hour()>=22 || hour()<8)
{
ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(ReefCrest,50,20);
}
}
////// Place your custom code below here
////// Place your custom code above here
// This should always be the last line
ReefAngel.Portal( "DeeAnnMG" );
ReefAngel.ShowInterface();
}
and this was is the black text box at the bottom:#include <ReefAngel_Features.h>
#include <Globals.h>
#include <RA_Wifi.h>
#include <Wire.h>
#include <OneWire.h>
#include <Time.h>
#include <DS1307RTC.h>
#include <InternalEEPROM.h>
#include <RA_NokiaLCD.h>
#include <RA_ATO.h>
#include <RA_Joystick.h>
#include <LED.h>
#include <RA_TempSensor.h>
#include <Relay.h>
#include <RA_PWM.h>
#include <Timer.h>
#include <Memory.h>
#include <InternalEEPROM.h>
#include <RA_Colors.h>
#include <RA_CustomColors.h>
#include <Salinity.h>
#include <RF.h>
#include <IO.h>
#include <ORP.h>
#include <AI.h>
#include <PH.h>
#include <WaterLevel.h>
#include <Humidity.h>
#include <DCPump.h>
#include <ReefAngel.h>
////// Place global variable code below here
////// Place global variable code above here
void setup()
{
// This must be the first line
ReefAngel.Init(); //Initialize controller
// Ports toggled in Feeding Mode
ReefAngel.FeedingModePorts = Port1Bit | Port2Bit | Port5Bit | Port6Bit;
// Ports toggled in Water Change Mode
ReefAngel.WaterChangePorts = Port1Bit | Port2Bit | Port3Bit | Port4Bit | Port5Bit | Port6Bit | Port7Bit | Port8Bit;
// Ports toggled when Lights On / Off menu entry selected
ReefAngel.LightsOnPorts = 0;
// Ports turned off when Overheat temperature exceeded
ReefAngel.OverheatShutoffPorts = Port3Bit | Port4Bit | Port7Bit;
// Use T1 probe as temperature and overheat functions
ReefAngel.TempProbe = T1_PROBE;
ReefAngel.OverheatProbe = T1_PROBE;
// Set the Overheat temperature setting
InternalMemory.OverheatTemp_write( 800 );
// Ports that are always on
ReefAngel.Relay.On( Port1 );
ReefAngel.Relay.On( Port2 );
ReefAngel.Relay.On( Port5 );
ReefAngel.Relay.On( Port6 );
ReefAngel.Relay.On( Port7 );
////// Place additional initialization code below here
////// Place additional initialization code above here
}
void loop()
{
ReefAngel.StandardHeater( Port3,775,780 );
ReefAngel.StandardHeater( Port4,775,780 );
if (ReefAngel.DisplayedMenu!=FEEDING_MODE || ReefAngel.DisplayedMenu!=WATERCHANGE_MODE)
if (hour()>=8 && hour()<10)
{
ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(ReefCrest,60,20);
}
else if (hour()>=10 || hour()<12)
{
ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(ReefCrest,70,20);
}
else if (hour()>=12 || hour()<18)
{
ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(ReefCrest,80,20);
}
else if (hour()>=18 || hour()<20)
{
ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(ReefCrest,70,20);
}
else if (hour()>=20 || hour()<22)
{
ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(ReefCrest,60,20);
}
else if (hour()>=22 || hour()<8)
{
ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(ReefCrest,50,20);
}
}
////// Place your custom code below here
////// Place your custom code above here
// This should always be the last line
ReefAngel.Portal( "DeeAnnMG" );
ReefAngel.ShowInterface();
}
I'm thinking of changing some of my Vortech modes from Reef Crest to Tidal swell. Is it as easy as changing this:
ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(ReefCrest,50,20);
To this:
ReefAngel.RF.UseMemory=false;
ReefAngel.RF.SetMode(TidalSwell,50,20);