Code:
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 <Humidity.h>
#include <DCPump.h>
#include <ReefAngel.h>
void setup()
{
ReefAngel.Init();
InternalMemory.OverheatTemp_write( 869 );
InternalMemory.StdLightsOnHour_write( 9 );
InternalMemory.StdLightsOnMinute_write( 0 );
InternalMemory.StdLightsOffHour_write( 19 );
InternalMemory.StdLightsOffMinute_write( 0 );
InternalMemory.ActinicOffset_write( 30 );
InternalMemory.HeaterTempOn_write( 771 );
InternalMemory.HeaterTempOff_write( 781 );
InternalMemory.ATOExtendedTimeout_write( 60 );
InternalMemory.ATOHourInterval_write( 0 );
InternalMemory.WaterLevelLow_write( 10 );
InternalMemory.WaterLevelHigh_write( 15 );
InternalMemory.CO2ControlOn_write( 7.0 );
InternalMemory.CO2ControlOff_write( 6.71 );
InternalMemory.DP1RepeatInterval_write( 60 );
InternalMemory.DP1Timer_write( 60 );
InternalMemory.DelayedStart_write( 10 );
InternalMemory.IMCheck_write(0xCF06A31E);
ReefAngel.LCD.DrawText(COLOR_BLACK, COLOR_WHITE, MENU_START_COL+20, MENU_START_ROW*3, "Memory Updated");
ReefAngel.LCD.DrawText(COLOR_BLACK, COLOR_WHITE, MENU_START_COL+25, MENU_START_ROW*6, "You can now");
ReefAngel.LCD.DrawText(COLOR_BLACK, COLOR_WHITE, MENU_START_COL+25, MENU_START_ROW*7, "upload your");
ReefAngel.LCD.DrawText(COLOR_BLACK, COLOR_WHITE, MENU_START_COL+33, MENU_START_ROW*8, "INO code");
}
void loop()
{
wdt_reset();
}
Code: Select all
avrdude: 24130 bytes of flash written
avrdude: Send: . [1b] o [6f] . [00] . [03] . [0e] . [11] . [01] . [01] h [68]
avrdude: Recv: . [1b]
avrdude: Recv: o [6f]
avrdude: Recv: . [00]
avrdude: Recv: . [02]
avrdude: Recv: . [0e]
avrdude: Recv: . [11]
avrdude: Recv: . [00]
avrdude: Recv: i [69]
avrdude done. Thank you.