Awesome! Does this check out in your book?
#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 <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 | Port7Bit;
// Ports toggled in Water Change Mode
ReefAngel.WaterChangePorts = Port1Bit | Port2Bit | Port5Bit | Port6Bit | Port7Bit | Port8Bit;
// Ports toggled when Lights On / Off menu entry selected
ReefAngel.LightsOnPorts = Port2Bit | Port3Bit | Port5Bit | Port6Bit | Port8Bit;
// Ports turned off when Overheat temperature exceeded
ReefAngel.OverheatShutoffPorts = Port3Bit | Port5Bit | Port6Bit | Port8Bit;
// Use T1 probe as temperature and overheat functions
ReefAngel.TempProbe = T1_PROBE;
ReefAngel.OverheatProbe = T1_PROBE;
// Set the Overheat temperature setting
InternalMemory.OverheatTemp_write( 869 );
// Ports that are always on
////// Place additional initialization code below here
////// Place additional initialization code above here
}
void loop()
{
\\Pump Delay 15min
ReefAngel.Relay.DelayedOn( Port1,15 );
\\Actinic 10am-10am
ReefAngel.StandardLights( Port3,10,0,22,0 );
\\MH 12pm-7pm
ReefAngel.StandardLights( Port5,12,0,19,0 );
ReefAngel.StandardLights( Port6,12,0,19,0 );
\\Powerhead Delay 1min
ReefAngel.Relay.DelayedOn( Port7,1 );
\\Frag 10pm-10am
ReefAngel.StandardLights( Port8,22,0,10,0 );
\\PWM Daylight off
ReefAngel.PWM.SetDaylight(0) );
\\Fan on over 80
ReefAngel.StandardFan(Port2,790,800);
\\Overflow Protection
ReefAngel.Relay.Set(Port1,ReefAngel.HighATO.IsActive());
\\Moonlight Phase 9pm-10am
if ( (hour() >=10) && (hour() <21) )
ReefAngel.PWM.SetActinic(0);
else
ReefAngel.PWM.SetActinic(MoonPhase() );
if ( (hour() >=2) && (hour() <10) )
\\Kalk Dose 1min @ 2am-10am (every 30min)
ReefAngel.Relay.Set(Port4, now()%1800<60);
else
ReefAngel.Relay.Off(Port4);
////// Place your custom code below here
////// Place your custom code above here
// This should always be the last line
ReefAngel.Portal( "paulturner911" );
ReefAngel.ShowInterface();
}
Thanks a bunch guys. I dont want to say Im getting it, but Im surely fumbling my way through it!