RF and PWM modules not showing in Portal

Related to the development libraries, released by Curt Binder
Post Reply
projectx
Posts: 120
Joined: Sat Apr 23, 2011 6:53 pm

RF and PWM modules not showing in Portal

Post by projectx »

I recently upgraded to the .9.8 lib. this fixed a problem with my expansion relays not showing in the portal or on the web banner. But now I am experiencing an issue that my RF expansion and my PWM expansion are not showing in the portal.

Any ideas?
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: RF and PWM modules not showing in Portal

Post by rimai »

Can I see your code?
Roberto.
projectx
Posts: 120
Joined: Sat Apr 23, 2011 6:53 pm

Re: RF and PWM modules not showing in Portal

Post by projectx »

// Autogenerated file by RAGen (v1.2.2.171), (05/29/2012 11:15)
// RA_052912_1115.ino
//
// This version designed for v0.9.0 or later

/* The following features are enabled for this File:
#define DisplayImages
#define SetupExtras
#define DosingPumpSetup
#define OverheatSetup
#define DateTimeSetup
#define VersionMenu
#define ATOSetup
#define DisplayLEDPWM
#define wifi
#define SingleATOSetup
#define RelayExp
#define InstalledRelayExpansionModules 1
#define DosingPumpIntervalSetup
#define PWMEXPANSION
#define ENABLE_ATO_LOGGING
#define ENABLE_EXCEED_FLAGS
#define RFEXPANSION
*/


#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 <RF.h>
#include <ReefAngel.h>

////// Place global variable code below here


////// Place global variable code above here


void setup()
{
// This must be the first line
ReefAngel.Init(); //Initialize controller

// Ports toggled in Feeding Mode
ReefAngel.FeedingModePorts = Port5Bit | Port3Bit;
ReefAngel.FeedingModePortsE[0] = Port3Bit | Port4Bit;
// Ports toggled in Water Change Mode
ReefAngel.WaterChangePorts = Port1Bit | Port3Bit | Port5Bit | Port7Bit | Port8Bit;
ReefAngel.WaterChangePortsE[0] = Port3Bit | Port4Bit;
// Ports turned off when Overheat temperature exceeded
ReefAngel.OverheatShutoffPorts = Port2Bit | Port4Bit | Port6Bit;
// Ports toggled when Lights On / Off menu entry selected
ReefAngel.LightsOnPorts = Port2Bit | Port4Bit;
ReefAngel.LightsOnPortsE[1] = Port1Bit | Port2Bit | Port5Bit | Port6Bit;
ReefAngel.LightsOnPortsE[1] = Port1Bit | Port2Bit | Port5Bit | Port6Bit;

// Ports that are always on
ReefAngel.Relay.On(Port3);
ReefAngel.Relay.On(Port5);
ReefAngel.Relay.On(Box1_Port3);
ReefAngel.Relay.On(Box1_Port4);
ReefAngel.Relay.On(Box1_Port7);
ReefAngel.Relay.On(Box1_Port8);

////// Place additional initialization code below here


////// Place additional initialization code above here
}

void loop()
{
// Specific functions that use Internal Memory values
ReefAngel.SingleATOLow(Port1);
ReefAngel.StandardLights(Port2);
ReefAngel.MHLights(Port4);
ReefAngel.StandardHeater(Port6);
ReefAngel.DosingPumpRepeat1(Port7);
ReefAngel.DosingPumpRepeat2(Port8);
ReefAngel.MHLights(Box1_Port5);
ReefAngel.MHLights(Box1_Port6);
ReefAngel.StandardLights(Box1_Port1, 21, 0, 9, 0);
ReefAngel.StandardLights(Box1_Port2, 21, 0, 9, 0);

// PWMSlope based on Internal Memory values for Standard Lights
ReefAngel.PWM.ActinicPWMSlope();
ReefAngel.PWM.DaylightPWMSlope();


ReefAngel.Portal("projectx");


ReefAngel.ShowInterface();
}
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: RF and PWM modules not showing in Portal

Post by rimai »

That code has nothing about PWM expansion.
Roberto.
projectx
Posts: 120
Joined: Sat Apr 23, 2011 6:53 pm

Re: RF and PWM modules not showing in Portal

Post by projectx »

Oh carp I don't have the channels defined. Nor do I have the rf defined. Must have been a fluke that they showed up in the portal before w the same code

Sent from my Galaxy Nexus using Tapatalk 2
Image
projectx
Posts: 120
Joined: Sat Apr 23, 2011 6:53 pm

Re: RF and PWM modules not showing in Portal

Post by projectx »

Ill chalk this one up to a PICNIC error
problem in chair not in controller lol
Image
Post Reply