RA Gen - No Member named 'relay' error code
Posted: Sat Aug 04, 2012 5:20 pm
I ran the RA Gen according to the user manual and changed a few ports to specific names, for example port 7 was heater changed it to chiller/fan.
Any went thru the steps according to the manual and got the following error code:
'class ReefAngelClass' has no member named 'Relay'
I was successfully able to load other templates and memory as noted in the user manual. This is what i ran in RA Gen:
// Autogenerated file by RAGen (v1.2.2.171), (08/04/2012 20:10)
// RA_080412_2010.pde
//
// This version designed for v0.8.5 Beta 17 or later
/* The following features are enabled for this File:
#define WavemakerSetup
#define OverheatSetup
#define DateTimeSetup
#define VersionMenu
#define ATOSetup
#define MetalHalideSetup
#define DisplayLEDPWM
#define StandardLightSetup
#define WDT
#define FONT_8x8
*/
#include <ReefAngel_Features.h>
#include <ReefAngel_Globals.h>
#include <ReefAngel_Wifi.h>
#include <Wire.h>
#include <OneWire.h>
#include <Time.h>
#include <DS1307RTC.h>
#include <ReefAngel_EEPROM.h>
#include <ReefAngel_NokiaLCD.h>
#include <ReefAngel_ATO.h>
#include <ReefAngel_Joystick.h>
#include <ReefAngel_LED.h>
#include <ReefAngel_TempSensor.h>
#include <ReefAngel_Relay.h>
#include <ReefAngel_PWM.h>
#include <ReefAngel_Timer.h>
#include <ReefAngel_Memory.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 that are always on
ReefAngel.Relay.On(Port8);
////// Place additional initialization code below here
////// Place additional initialization code above here
}
void loop()
{
// Specific functions that use Internal Memory values
ReefAngel.StandardATO(Port1);
ReefAngel.StandardLights(Port2);
ReefAngel.MHLights(Port3);
ReefAngel.StandardFan(Port4);
ReefAngel.Wavemaker1(Port5);
ReefAngel.Wavemaker2(Port6);
ReefAngel.StandardFan(Port7);
////// Place your custom code below here
////// Place your custom code above here
// This should always be the last line
ReefAngel.ShowInterface();
}
Thanks in advance for help.
Any went thru the steps according to the manual and got the following error code:
'class ReefAngelClass' has no member named 'Relay'
I was successfully able to load other templates and memory as noted in the user manual. This is what i ran in RA Gen:
// Autogenerated file by RAGen (v1.2.2.171), (08/04/2012 20:10)
// RA_080412_2010.pde
//
// This version designed for v0.8.5 Beta 17 or later
/* The following features are enabled for this File:
#define WavemakerSetup
#define OverheatSetup
#define DateTimeSetup
#define VersionMenu
#define ATOSetup
#define MetalHalideSetup
#define DisplayLEDPWM
#define StandardLightSetup
#define WDT
#define FONT_8x8
*/
#include <ReefAngel_Features.h>
#include <ReefAngel_Globals.h>
#include <ReefAngel_Wifi.h>
#include <Wire.h>
#include <OneWire.h>
#include <Time.h>
#include <DS1307RTC.h>
#include <ReefAngel_EEPROM.h>
#include <ReefAngel_NokiaLCD.h>
#include <ReefAngel_ATO.h>
#include <ReefAngel_Joystick.h>
#include <ReefAngel_LED.h>
#include <ReefAngel_TempSensor.h>
#include <ReefAngel_Relay.h>
#include <ReefAngel_PWM.h>
#include <ReefAngel_Timer.h>
#include <ReefAngel_Memory.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 that are always on
ReefAngel.Relay.On(Port8);
////// Place additional initialization code below here
////// Place additional initialization code above here
}
void loop()
{
// Specific functions that use Internal Memory values
ReefAngel.StandardATO(Port1);
ReefAngel.StandardLights(Port2);
ReefAngel.MHLights(Port3);
ReefAngel.StandardFan(Port4);
ReefAngel.Wavemaker1(Port5);
ReefAngel.Wavemaker2(Port6);
ReefAngel.StandardFan(Port7);
////// Place your custom code below here
////// Place your custom code above here
// This should always be the last line
ReefAngel.ShowInterface();
}
Thanks in advance for help.