My controller has a red light on status and when i go to restore the code it keeps saying:
Build folder disappeared or could not be written...
and i also cant restore it back to factory either... Please help
Emergency
Re: Emergency
Roberto the code i working now but it keeps giveng me a solid red status light and turning off anything on timers...
Please advise
Please advise
Re: Emergency
Looks like overheat flag.
What temperature is it showing?
Can you post your code?
What temperature is it showing?
Can you post your code?
Roberto.
Re: Emergency
81.6
#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.AddStandardMenu();
ReefAngel.AddDateTimeMenu();
ReefAngel.WaterChangePorts = Port1Bit | Port8Bit; // Turn off Ports 5 and 6 when Feeding Mode is activated
ReefAngel.FeedingModePorts = Port1Bit | Port6Bit | Port7Bit | Port8Bit; // Turn off Ports 1, 6, 7 and 8 when Water Change Mode is activated
ReefAngel.OverheatShutoffPorts = Port3Bit | Port4Bit | Port5Bit | Port6Bit; // Turn off Ports 3, 4 and 7 when overheat occurs
// Use T1 probe as temperature and overheat functions
ReefAngel.TempProbe = T1_PROBE;
ReefAngel.OverheatProbe = T1_PROBE;
// Set the Overheat temperature setting
InternalMemory.OverheatTemp_write( 815 );
ReefAngel.LightsOnPorts = Port3Bit | Port4Bit; // Turn on/off Ports 3 and 4 when Light On/Off menu option is selected
// Ports that are always on
ReefAngel.Relay.On( Port1 ); // Return Pump
// Hardcode PH calibrations
ReefAngel.PHMin=544; // PH7.0
ReefAngel.PHMax=830; // PH10.0
}
void loop()
{
ReefAngel.LCD.DrawLargeText(COLOR_STEELBLUE,COLOR_WHITE,28,121,"Edwin's Reef"); // Display Reef Angel banner
//Light instructions
ReefAngel.StandardLights( Port2,19,15,7,4 );//Refugium
ReefAngel.StandardLights(Port3,7,5,19,15); // Actinic Lights
ReefAngel.StandardLights(Port4,9,5,17,0); // Daylight Lights
ReefAngel.StandardLights(Port5,9,5,17,0); // Daylight Lights - MH
//Light instructions (Start Hr,Min, End Hr, Min)
//ReefAngel.Wavemaker1(Port5); // Wavemaker 1
//ReefAngel.Wavemaker2(Port6); // Wavemaker 2
ReefAngel.StandardHeater( Port6,751,801 );
ReefAngel.Relay.DelayedOn( Port8,2 ); //Skimmer
ReefAngel.PWM.StandardDaylight(); // Dimming for Daylight Channel
ReefAngel.PWM.StandardActinic(30); // Dimming for Actinic Channel
ReefAngel.ShowInterface(); // Display everything on the LCD screen
}
#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.AddStandardMenu();
ReefAngel.AddDateTimeMenu();
ReefAngel.WaterChangePorts = Port1Bit | Port8Bit; // Turn off Ports 5 and 6 when Feeding Mode is activated
ReefAngel.FeedingModePorts = Port1Bit | Port6Bit | Port7Bit | Port8Bit; // Turn off Ports 1, 6, 7 and 8 when Water Change Mode is activated
ReefAngel.OverheatShutoffPorts = Port3Bit | Port4Bit | Port5Bit | Port6Bit; // Turn off Ports 3, 4 and 7 when overheat occurs
// Use T1 probe as temperature and overheat functions
ReefAngel.TempProbe = T1_PROBE;
ReefAngel.OverheatProbe = T1_PROBE;
// Set the Overheat temperature setting
InternalMemory.OverheatTemp_write( 815 );
ReefAngel.LightsOnPorts = Port3Bit | Port4Bit; // Turn on/off Ports 3 and 4 when Light On/Off menu option is selected
// Ports that are always on
ReefAngel.Relay.On( Port1 ); // Return Pump
// Hardcode PH calibrations
ReefAngel.PHMin=544; // PH7.0
ReefAngel.PHMax=830; // PH10.0
}
void loop()
{
ReefAngel.LCD.DrawLargeText(COLOR_STEELBLUE,COLOR_WHITE,28,121,"Edwin's Reef"); // Display Reef Angel banner
//Light instructions
ReefAngel.StandardLights( Port2,19,15,7,4 );//Refugium
ReefAngel.StandardLights(Port3,7,5,19,15); // Actinic Lights
ReefAngel.StandardLights(Port4,9,5,17,0); // Daylight Lights
ReefAngel.StandardLights(Port5,9,5,17,0); // Daylight Lights - MH
//Light instructions (Start Hr,Min, End Hr, Min)
//ReefAngel.Wavemaker1(Port5); // Wavemaker 1
//ReefAngel.Wavemaker2(Port6); // Wavemaker 2
ReefAngel.StandardHeater( Port6,751,801 );
ReefAngel.Relay.DelayedOn( Port8,2 ); //Skimmer
ReefAngel.PWM.StandardDaylight(); // Dimming for Daylight Channel
ReefAngel.PWM.StandardActinic(30); // Dimming for Actinic Channel
ReefAngel.ShowInterface(); // Display everything on the LCD screen
}