I am using the the Developement libraries, latest version.
I have assigned my ports for the lights.
I have one light fixture that consists of T5 lights (4 bulbs) and moon lights (LED) - 3 electrical plugs.
I want the led moon lights to come on at 7:00am and go off at 8:00pm.
Have one white and one actinic to come on at 7:30am and go off at 5:30pm.
Have one white and one actinic to come on at 9:30am and go off at 7:30pm.
This is the way I have my bulbs set to the electrical plugs.
I know coding is involved now. What do I do next?
Code: Select all
// Autogenerated file by RAGen (v1.1.0.126), (01/08/2012 12:39)
// RA_010812_1239.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 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
// Ports that are always on
ReefAngel.Relay.On(Port7);
ReefAngel.Relay.On(Port8);
}
void loop()
{
// Specific functions
ReefAngel.StandardATO(Port1);
ReefAngel.StandardLights(Port2);
ReefAngel.StandardLights(Port3);
ReefAngel.StandardLights(Port4);
ReefAngel.Wavemaker1(Port5);
ReefAngel.Wavemaker2(Port6);
ReefAngel.ShowInterface();
}
