Figured it out. My anti virus was interfearing.
The code I made is ato on 1, return pump on 2, skimmer on 3, powerheads 4&5, reactors on 6, heaters on 7, and fuge lights on 8.
For H2O/reactor change with simple menu I turn off ATo, skimmer, return, and reactor pump.
Feed mode just turns off my main powerheads.
Code: Select all
// Autogenerated file by RAGen (v1.1.0.126), (01/29/2012 15:35)
// RA_012912_1535.pde
//
// This version designed for v0.8.5 Beta 17 or later
/* The following features are enabled for this PDE File:
#define DisplayImages
#define DateTimeSetup
#define VersionMenu
#define DirectTempSensor
#define SaveRelayState
#define SIMPLE_MENU
*/
#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>
void setup()
{
ReefAngel.Init(); //Initialize controller
ReefAngel.FeedingModePorts = B00011000;
ReefAngel.WaterChangePorts = B00100111;
ReefAngel.OverheatShutoffPorts = B00000000;
ReefAngel.LightsOnPorts = B00000000;
// Ports that are always on
ReefAngel.Relay.On(Port2);
}
void loop()
{
// Specific functions
ReefAngel.StandardATO(Port1);
ReefAngel.Relay.DelayedOn(Port3, 5);
ReefAngel.Wavemaker1(Port4);
ReefAngel.Wavemaker2(Port5);
ReefAngel.Relay.DelayedOn(Port6, 5);
ReefAngel.StandardHeater(Port7);
ReefAngel.StandardLights(Port8);
ReefAngel.ShowInterface();
}