Wifi Cloud Configuration

Expansion modules and attachments
Post Reply
LucianoB
Posts: 23
Joined: Fri Mar 11, 2016 4:39 pm

Wifi Cloud Configuration

Post by LucianoB »

Hi, I receive my Cloud WIFI Add-on, I followed the PDF Manual step by step but when I try compile the Code Generated by Webwizard for my RA+, not for my Cloud Wifi (I already did that), I received this message Error compiling: [object Object] .... Does anyone know I'm doing wrong?

Regards,
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Wifi Cloud Configuration

Post by rimai »

Can you post the code you are trying to compile?
Roberto.
LucianoB
Posts: 23
Joined: Fri Mar 11, 2016 4:39 pm

Re: Wifi Cloud Configuration

Post by LucianoB »

This code was 100% generated by webwizard

#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 <InternalEEPROM.h>
#include <RA_Colors.h>
#include <RA_CustomColors.h>
#include <Salinity.h>
#include <RF.h>
#include <IO.h>
#include <ORP.h>
#include <AI.h>
#include <PH.h>
#include <WaterLevel.h>
#include <Humidity.h>
#include <DCPump.h>
#include <PAR.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
ReefAngel.AddStandardMenu(); // Add Standard Menu
ReefAngel.Use2014Screen(); // Let's use 2014 Screen
ReefAngel.SetTemperatureUnit( Celsius ); // set to Celsius Temperature
// Ports toggled in Feeding Mode
ReefAngel.FeedingModePorts = 0;
// Ports toggled in Water Change Mode
ReefAngel.WaterChangePorts = Port1Bit | Port5Bit | Port6Bit | Port7Bit | Port8Bit;
// Ports turned off when Overheat temperature exceeded
ReefAngel.OverheatShutoffPorts = Port2Bit;
// Ports toggled when Lights On / Off menu entry selected
ReefAngel.LightsOnPorts = Port4Bit;
// Use T1 probe as temperature and overheat functions
ReefAngel.TempProbe = T1_PROBE;
ReefAngel.OverheatProbe = T1_PROBE;
// Set the Overheat temperature setting
InternalMemory.OverheatTemp_write( 290 );

// Ports that are always on
ReefAngel.Relay.On( Port1 );
ReefAngel.Relay.On( Port6 );
ReefAngel.Relay.On( Port7 );
ReefAngel.Relay.On( Port8 );

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


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

void loop()
{
ReefAngel.StandardHeater( T1_PROBE,Port2,255,260 );
ReefAngel.StandardFan( T1_PROBE,Port3,275,260 );
ReefAngel.StandardLights( Port4,10,0,21,0 );
ReefAngel.Wavemaker( Port5,59 );
ReefAngel.PWM.SetDaylight( PWMParabola( 10,0,20,0,15,70,0 ) );
ReefAngel.PWM.SetActinic( PWMParabola( 10,0,20,0,15,28,0 ) );

////// Place your custom code below here


////// Place your custom code above here

ReefAngel.CloudPortal();
// This should always be the last line
ReefAngel.ShowInterface();
}

rimai wrote:Can you post the code you are trying to compile?
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Wifi Cloud Configuration

Post by rimai »

I'm able to compile this code.
Can you post the entire error log that you get?
Roberto.
LucianoB
Posts: 23
Joined: Fri Mar 11, 2016 4:39 pm

Re: Wifi Cloud Configuration

Post by LucianoB »

Hi Roberto, forget...I retried today and worked fine. I don't know what happened. I will do the next step...if I have any other problem, I will contact to you.

Really apreciated your time.

Cheers from Argentina!
Post Reply