Newbie trying to restore RA Preload
Posted: Mon Jun 18, 2012 10:24 am
Hello
Although I am not a new reefer- 14 gallon biocube for 5+ years. I am very new to the RA controller and programming. I bought a used RA and I am trying to restore the preloaded software. This is the original RA not the + Also have the Gen 1 relay. I just want to do basics right now.. That is why i want the preloaded code. Until i get comfortable with customizing. I apologize if this was answered somewhere else in the forum. I tried to read as much as i could to find the answer. When i try to upload this is what i get. How do i trim down the code to make it fit on my RA? Any help you could provide would be appreciated..
thank you
Josh
The following feature was automatically added:
Watchdog Timer
Version Menu
The following features were detected:
Dimming Signal
Standard Menu
Date/Time Setup Menu
Extra Font - Medium Size (8x8 pixels)
Binary sketch size: 32,178 bytes (of a 30,720 byte maximum)
Although I am not a new reefer- 14 gallon biocube for 5+ years. I am very new to the RA controller and programming. I bought a used RA and I am trying to restore the preloaded software. This is the original RA not the + Also have the Gen 1 relay. I just want to do basics right now.. That is why i want the preloaded code. Until i get comfortable with customizing. I apologize if this was answered somewhere else in the forum. I tried to read as much as i could to find the answer. When i try to upload this is what i get. How do i trim down the code to make it fit on my RA? Any help you could provide would be appreciated..
thank you
Josh
The following feature was automatically added:
Watchdog Timer
Version Menu
The following features were detected:
Dimming Signal
Standard Menu
Date/Time Setup Menu
Extra Font - Medium Size (8x8 pixels)
Binary sketch size: 32,178 bytes (of a 30,720 byte maximum)
#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.FeedingModePorts = Port5Bit | Port6Bit; // Turn off Ports 5 and 6 when Feeding Mode is activated
ReefAngel.WaterChangePorts = Port1Bit | Port5Bit | Port6Bit | Port7Bit | Port8Bit; // Turn off Ports 1, 5, 6, 7 and 8 when Water Change Mode is activated
ReefAngel.OverheatShutoffPorts = Port3Bit | Port4Bit | Port7Bit; // Turn off Ports 3, 4 and 7 when overheat occurs
ReefAngel.LightsOnPorts = Port3Bit | Port4Bit; // Turn on/off Ports 3 and 4 when Light On/Off menu option is selected
ReefAngel.OverheatProbe = T1_PROBE; // Use Temperature probe 1 to check for overheat
ReefAngel.Relay.On(Port8); // Always on
}
void loop()
{
ReefAngel.LCD.DrawLargeText(COLOR_STEELBLUE,COLOR_WHITE,28,121,"Reef Angel"); // Display Reef Angel banner
ReefAngel.StandardATO(Port1); // Standard ATO
ReefAngel.MoonLights(Port2); // Moonlights or Refugium
ReefAngel.StandardLights(Port3,30); // Actinic Lights
ReefAngel.StandardLights(Port4,0); // Daylight Lights
ReefAngel.Wavemaker1(Port5); // Wavemaker 1
ReefAngel.Wavemaker2(Port6); // Wavemaker 2
ReefAngel.StandardHeater(Port7); // Heater
ReefAngel.PWM.StandardDaylight(); // Dimming for Daylight Channel
ReefAngel.PWM.StandardActinic(30); // Dimming for Actinic Channel
ReefAngel.ShowInterface(); // Display everything on the LCD screen
}