Hello all,
I changed my code to include pwm control and now my client server is not working. here is my code. Please help
// Autogenerated file by RAGen (v1.2.1.158), (04/14/2012 13:19)
// RA_041412_1319.ino
//
// This version designed for v0.9.0 or later
/* The following features are enabled for this File:
#define DisplayImages
#define DateTimeSetup
#define VersionMenu
#define DisplayLEDPWM
#define SIMPLE_MENU
#define DosingPumpSetup
#Define DosingPumpIntervalsetup
*/
#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 <ReefAngel.h>
void setup()
{
ReefAngel.Init(); //Initialize controller
ReefAngel.FeedingModePorts = Port1Bit | Port3Bit | Port4Bit;
ReefAngel.WaterChangePorts = Port1Bit | Port3Bit | Port4Bit;
// Ports that are always on
ReefAngel.Relay.On(Port3);
}
void loop()
{
// Specific functions
ReefAngel.StandardATO(Port1,15);
ReefAngel.StandardLights(Port2,21,0,11,0);
ReefAngel.StandardLights(Port4,8,0,22,0);
ReefAngel.StandardHeater(Port5,788,792);
ReefAngel.StandardLights(Port6,12,0,21,0);
ReefAngel.DosingPumpRepeat(Port7, 0, 360, 7);
ReefAngel.DosingPumpRepeat(Port8, 180, 360, 10);
ReefAngel.PWM.SetActinic(PWMSlope(10,0,22,0,03,40,60,0 ));
ReefAngel.PWM.SetDaylight(PWMSlope(11,0,21,0,03,30,60,0));
ReefAngel.ShowInterface();
}
Thanks!
Reef Angel Client Server not working
-
rimai
- Posts: 12857
- Joined: Fri Mar 18, 2011 6:47 pm
Re: Reef Angel Client Server not working
Make sure you enable wifi feature.
The Client uses the same framework as the wifi attachment.
The Client uses the same framework as the wifi attachment.
Roberto.