Newbie - Need HELP

Basic / Standard Reef Angel hardware
Post Reply
User avatar
Express Reef
Posts: 51
Joined: Thu Mar 21, 2013 2:19 am
Location: South Africa

Newbie - Need HELP

Post 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???
Image
User avatar
lnevo
Posts: 5422
Joined: Fri Jul 20, 2012 9:42 am

Newbie - Need HELP

Post by lnevo »

You need to load the initialize memory sketch first
User avatar
Express Reef
Posts: 51
Joined: Thu Mar 21, 2013 2:19 am
Location: South Africa

Re: Newbie - Need HELP

Post by Express Reef »

Thanx dude got it to work :P now just to get the wifi to work :roll:
Image
User avatar
Express Reef
Posts: 51
Joined: Thu Mar 21, 2013 2:19 am
Location: South Africa

Re: Newbie - Need HELP

Post by Express Reef »

What can be wrong? My lights off mode on the RA controller does not work...
Image
User avatar
Express Reef
Posts: 51
Joined: Thu Mar 21, 2013 2:19 am
Location: South Africa

Re: Newbie - Need HELP

Post 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
}
Image
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Newbie - Need HELP

Post by rimai »

Roberto.
Post Reply