stuck in demo
stuck in demo
probably a stupid question but how do you get the ra out of demo mode,got mine today and whatever i do it just sits there clicking relays on and off,have tried re assinging all the ports on but no luck,have also tried putting in a pwm slope but comes up with a failiure message,also red status light stays on all the time
Re: stuck in demo
ive switched from port 3 to 5 and this seems to have fixed the problem,but i cant load a pwm slope it comes up pwmslope not defined and a couple of other messages,where exactly in the pde do i paste it?
ps just fyi the international plug adapters dont fit Australian plugs
ps just fyi the international plug adapters dont fit Australian plugs
Re: stuck in demo
It sounds like you have not loaded the Internal Memory file first. The ports are toggling on / off because of the value it reads in for the wavemakers is 0 or another value.
Like Roberto said, let's see your code. Plus, try loading the Internal Memory file first to get the default values set.
Like Roberto said, let's see your code. Plus, try loading the Internal Memory file first to get the default values set.
Re: stuck in demo
ive now downloaded the internal memory and got the controllerdoing what i want via ragen,im just having trouble putting the pwm slope in my pde canyou tell me anything i need to change and where to paste it
/ Autogenerated file by RAGen (v1.2.1.158), (03/07/2012 14:56)
// RA_030712_1456.ino
//
// This version designed for v0.9.0 or later
/* The following features are enabled for this File:
#define DisplayImages
#define DateTimeSetup
#define VersionMenu
#define DisplayLEDPWM
#define SIMPLE_MENU
#define PWMEXPANSION
*/
#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 <ReefAngel.h>
void setup()
{
ReefAngel.Init(); //Initialize controller
// Ports that are always on
ReefAngel.Relay.On(Port1);
ReefAngel.Relay.On(Port2);
ReefAngel.Relay.On(Port3);
ReefAngel.Relay.On(Port4);
ReefAngel.Relay.On(Port5);
ReefAngel.Relay.On(Port6);
ReefAngel.Relay.On(Port7);
ReefAngel.Relay.On(Port8);
}
void loop()
{
// Specific functions
ReefAngel.PWM.ActinicPWMSlope();
ReefAngel.PWM.DaylightPWMSlope();
ReefAngel.ShowInterface();
}
/ Autogenerated file by RAGen (v1.2.1.158), (03/07/2012 14:56)
// RA_030712_1456.ino
//
// This version designed for v0.9.0 or later
/* The following features are enabled for this File:
#define DisplayImages
#define DateTimeSetup
#define VersionMenu
#define DisplayLEDPWM
#define SIMPLE_MENU
#define PWMEXPANSION
*/
#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 <ReefAngel.h>
void setup()
{
ReefAngel.Init(); //Initialize controller
// Ports that are always on
ReefAngel.Relay.On(Port1);
ReefAngel.Relay.On(Port2);
ReefAngel.Relay.On(Port3);
ReefAngel.Relay.On(Port4);
ReefAngel.Relay.On(Port5);
ReefAngel.Relay.On(Port6);
ReefAngel.Relay.On(Port7);
ReefAngel.Relay.On(Port8);
}
void loop()
{
// Specific functions
ReefAngel.PWM.ActinicPWMSlope();
ReefAngel.PWM.DaylightPWMSlope();
ReefAngel.ShowInterface();
}
Re: stuck in demo
ive tried this but still get expected ,)' before token error
// Autogenerated file by RAGen (v1.2.1.158), (03/07/2012 14:56)
// RA_030712_1456.ino
//
// This version designed for v0.9.0 or later
/* The following features are enabled for this File:
#define DisplayImages
#define DateTimeSetup
#define VersionMenu
#define DisplayLEDPWM
#define SIMPLE_MENU
#define PWMEXPANSION
*/
#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 <ReefAngel.h>
void setup()
{
ReefAngel.Init(); //Initialize controller
// Ports that are always on
ReefAngel.Relay.On(Port1);
ReefAngel.Relay.On(Port2);
ReefAngel.Relay.On(Port3);
ReefAngel.Relay.On(Port4);
ReefAngel.Relay.On(Port5);
ReefAngel.Relay.On(Port6);
ReefAngel.Relay.On(Port7);
ReefAngel.Relay.On(Port8);
}
void loop()
{
// Specific functions
ReefAngel.PWM.SetActinic(PWMSlope(8,30,20,30,15,100,60,0);
ReefAngel.PWM.SetDaylight(PWMSlope(8,30,20,30,15,100,60,0);
ReefAngel.ShowInterface();
}
// Autogenerated file by RAGen (v1.2.1.158), (03/07/2012 14:56)
// RA_030712_1456.ino
//
// This version designed for v0.9.0 or later
/* The following features are enabled for this File:
#define DisplayImages
#define DateTimeSetup
#define VersionMenu
#define DisplayLEDPWM
#define SIMPLE_MENU
#define PWMEXPANSION
*/
#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 <ReefAngel.h>
void setup()
{
ReefAngel.Init(); //Initialize controller
// Ports that are always on
ReefAngel.Relay.On(Port1);
ReefAngel.Relay.On(Port2);
ReefAngel.Relay.On(Port3);
ReefAngel.Relay.On(Port4);
ReefAngel.Relay.On(Port5);
ReefAngel.Relay.On(Port6);
ReefAngel.Relay.On(Port7);
ReefAngel.Relay.On(Port8);
}
void loop()
{
// Specific functions
ReefAngel.PWM.SetActinic(PWMSlope(8,30,20,30,15,100,60,0);
ReefAngel.PWM.SetDaylight(PWMSlope(8,30,20,30,15,100,60,0);
ReefAngel.ShowInterface();
}
Re: stuck in demo
You are missing a ) at the end of each line.
Use this:
Use this:
Code: Select all
ReefAngel.PWM.SetActinic(PWMSlope(8,30,20,30,15,100,60,0));
ReefAngel.PWM.SetDaylight(PWMSlope(8,30,20,30,15,100,60,0));
Roberto.
Re: stuck in demo
your a ledgend Roberto that loaded up ok and i have 9.6v at each pwm port, thanks))))