Page 1 of 1

Newbie - Need HELP

Posted: Thu Mar 21, 2013 2:38 am
by Express Reef
Hi All,

Got my Reef Angel tried to load the code via the app now I`m getting an error message No Internal Memory Found??? :?: Is it broken now???

Newbie - Need HELP

Posted: Thu Mar 21, 2013 3:36 am
by lnevo
You need to load the initialize memory sketch first

Re: Newbie - Need HELP

Posted: Thu Mar 21, 2013 4:44 am
by Express Reef
Thanx dude got it to work :P now just to get the wifi to work :roll:

Re: Newbie - Need HELP

Posted: Sat Apr 06, 2013 7:28 am
by Express Reef
What can be wrong? My lights off mode on the RA controller does not work...

Re: Newbie - Need HELP

Posted: Sat Apr 06, 2013 8:35 am
by Express Reef
Here is my code... but lights on/off does not work???

#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
ReefAngel.AddStandardMenu();
ReefAngel.SetTemperatureUnit( Celsius ); // set to Celsius Temperature

// Ports toggled when Lights On / Off menu entry selected
ReefAngel.LightsOnPorts = Port1Bit | Port2Bit | Port3Bit | Port4Bit; // Turn on/off Ports 1 and 2 and 3 and 4 when Light On/Off menu option is selected
// Ports turned off when Overheat temperature exceeded
ReefAngel.OverheatShutoffPorts = Port1Bit | Port2Bit | Port3Bit | Port4Bit | Port6Bit;
// Use T1 probe as temperature and overheat functions
ReefAngel.TempProbe = T1_PROBE;
ReefAngel.OverheatProbe = T1_PROBE;
// Set the Overheat temperature setting
InternalMemory.OverheatTemp_write( 300 );


// Ports that are always on
ReefAngel.Relay.On( Port7 );
ReefAngel.Relay.On( Port8 );

////// Place additional initialization code below here


////// Place additional initialization code above here
}

void loop()
{
ReefAngel.StandardLights( Port1,9,15,18,15 ); // Actinic Lights
ReefAngel.StandardLights( Port2,9,45,18,15 ); // Daylight Lights
ReefAngel.StandardLights( Port3,10,15,19,45 ); // Actinic Lights
ReefAngel.StandardLights( Port4,10,45,17,45 ); // Daylight Lights
ReefAngel.StandardFan( Port5,260,265 );
ReefAngel.StandardHeater( Port6,255,260 );
////// Place your custom code below here


////// Place your custom code above here

// This should always be the last line
ReefAngel.Portal( "Express Reef" );
ReefAngel.ShowInterface(); // Display everything on the LCD screen
}

Re: Newbie - Need HELP

Posted: Sat Apr 06, 2013 8:56 am
by rimai