void setup()
{
// This must be the first line
ReefAngel.Init(); //Initialize controller
ReefAngel.SetTemperatureUnit( Celsius ); // set to Celsius Temperature
ReefAngel.Use2014Screen(); // Let's use 2014 Screen
// Ports toggled in Feeding Mode
ReefAngel.FeedingModePorts = 0;
// Ports toggled in Water Change Mode
ReefAngel.WaterChangePorts = Port1Bit | Port2Bit | Port3Bit | Port4Bit | Port5Bit | Port6Bit | Port7Bit | Port8Bit;
// Ports toggled when Lights On / Off menu entry selected
ReefAngel.LightsOnPorts = 0;
// Ports turned off when Overheat temperature exceeded
ReefAngel.OverheatShutoffPorts = Port1Bit | Port2Bit | Port4Bit | Port7Bit;
// Use T1 probe as temperature and overheat functions
ReefAngel.TempProbe = T1_PROBE;
ReefAngel.OverheatProbe = T1_PROBE;
// Feeeding and Water Change mode speed
ReefAngel.DCPump.FeedingSpeed=0;
ReefAngel.DCPump.WaterChangeSpeed=0;
// Ports that are always on
ReefAngel.Relay.On( Port4 );
ReefAngel.Relay.On( Port5 );
ReefAngel.Relay.On( Port8 );
////// Place additional initialization code below here
////// Place additional initialization code above here
}
Maybe your relay box doesn't have the booster.
Older relay boxes required a PWM booster. It was an optional feature in the past that became standard at one point.
The only way to find out is opening the relay box and checking for the board revision. If you can't find, post a pic.
No, you are not.
You never initialized the internal memory.
Either upload a wizard generated internal memory, or update those memory location with Portal or android
You just said you don't know how to do it.
If you know how to change settings with your phone, then your code looks good and all you need is to assign a value to the DC pump memory locations
Okay as said before im a dumbass especially when it comes to programming and understanding arduino but I redid the wizard and uploaded and got a screen on my RA about memory updated and that I can now upload my ino. So I hit the generate and upload button again. Now everything works. Dont know how dont know why, but grateful
rimai wrote:Ah, I realized after posting that we don't have labels in the android app yet.
Use custom location.
337 is mode, 338 is speed and 339 is duration