So I started thinking I would get this pretty quick and the more I play the less I get. I am now down to just using RAGen in attempt to get SOMETHING that will work for me other than the simple.pde. So. If you look at BindersReefAngel_Features.H file the complete commented version it says this
/*
PWM Expansion Device
This next line will allow the enabling of the PWM Expansion Device. It will add a menu entry that displays
"PWM ->". It will give the preset defaults for the expansion device.
The menu entries will be:
Slow Cloud
Fast Cloud
T-storm 1
T-storm 2
0%
50%
100%
Custom
Approximately 630 bytes to have this feature
*/
#define PWMEXPANSION
But I have made about 5 different RAgen PDEs with LED etc and I have never seen any menu item indicating anything about any LED in any way. I only EVER get a menu that contains
feeding
waterchange
ATO clear
OverHeat Clear
pH Cal
Date/Time
Version
Exit
Can someone help, ALL I WANT to do is get a PDE that will let me power my LEDs, at this point I could care less about clouds etc... for now. I still have this feeling that somehow I am missing something about the RAGen files...
Mine is here
Code: Select all
// Autogenerated file by RAGen (v1.1.0.126), (01/07/2012 15:37)
// RA_010712_1537.pde
//
// This version designed for v0.8.5 Beta 17 or later
/* The following features are enabled for this PDE File:
#define DisplayImages
#define WavemakerSetup
#define DateTimeSetup
#define VersionMenu
#define ATOSetup
#define MetalHalideSetup
#define DirectTempSensor
#define DisplayLEDPWM
#define StandardLightSetup
#define SaveRelayState
#define PWMEXPANSION
*/
#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(Port8);
}
void loop()
{
// Specific functions
ReefAngel.StandardATO(Port1);
ReefAngel.StandardLights(Port2);
ReefAngel.MHLights(Port3);
ReefAngel.Wavemaker1(Port4);
ReefAngel.Wavemaker2(Port5);
ReefAngel.StandardFan(Port6);
ReefAngel.StandardHeater(Port7);
ReefAngel.ShowInterface();
}
