Can't download reef angel installer

New members questions
Post Reply
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Can't download reef angel installer

Post by rimai »

Don't use MH hours...
The wizard doesn't use those memory locations...
It uses the std lights schedule.
Roberto.
Redadeath
Posts: 54
Joined: Sun Mar 03, 2013 7:50 pm

Re: Can't download reef angel installer

Post by Redadeath »

but i cannot aslo control pwm of leds

whan i canhe it to any % nothing changes

i also tries client suit : 3 and the same issue
when it comes to programming i "always need help "
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Can't download reef angel installer

Post by rimai »

Can you post your code?
Roberto.
Redadeath
Posts: 54
Joined: Sun Mar 03, 2013 7:50 pm

Re: Can't download reef angel installer

Post by Redadeath »

Code: Select all

#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 <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.SetTemperatureUnit( Celsius );  // set to Celsius Temperature

    // Ports toggled in Feeding Mode
    ReefAngel.FeedingModePorts = Port1Bit | Port2Bit;
    // Ports toggled in Water Change Mode
    ReefAngel.WaterChangePorts = 0;
    // Ports toggled when Lights On / Off menu entry selected
    ReefAngel.LightsOnPorts = 0;
    // Ports turned off when Overheat temperature exceeded
    ReefAngel.OverheatShutoffPorts = 0;
    // Use T1 probe as temperature and overheat functions
    ReefAngel.TempProbe = T1_PROBE;
    ReefAngel.OverheatProbe = T1_PROBE;
    // Set the Overheat temperature setting
    InternalMemory.OverheatTemp_write( 896 );


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

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

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

void loop()
{
    ReefAngel.Relay.DelayedOn( Port2,5 );
    ReefAngel.StandardHeater( Port3,240,250 );
    ReefAngel.StandardFan( Port4,250,260 );
    ReefAngel.StandardLights( Port7,14,0,20,0 );
    ReefAngel.MHLights( Port8,16,0,18,0,0 );
    ReefAngel.PWM.SetDaylight( PWMParabola(14,0,20,0,15,40,15) );
    ReefAngel.PWM.SetActinic( PWMParabola(14,0,20,0,50,80,50) );
    ////// Place your custom code below here
    

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

    // This should always be the last line
    ReefAngel.Portal( "redadeath" );
    ReefAngel.ShowInterface();
}

when it comes to programming i "always need help "
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Can't download reef angel installer

Post by rimai »

You need to choose internal memory path when generating your code through the wizard.
Roberto.
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Can't download reef angel installer

Post by lnevo »

Its still not going to work from the phone...just my experience...if it does please lmk.

If it did his values in the app would have changed with no effect instead of reverting.
Post Reply