It is ok for a short while then the alert led comes on and the display starts displaying unexpected additional artifacts. If I clear the overheat flag manually within the RA, the display behaves as it should until the cycle repeats.
On a couple of occasions it displays error and/or 0oF for the temps and has also crashed - only a reboot will clear this.
Here's my pde (using 0.8.5.19, gen 1 RA)...
Thanks in advance for your assistance.#include <ReefAngel_Colors.h>
#include <ReefAngel_CustomColors.h>
#include <ReefAngel_Features.h>
#include <ReefAngel_Globals.h>
#include <ReefAngel_Wifi.h>
#include <Wire.h>
#include <OneWire.h>
#include <Time.h>
#include <DS1307RTC.h>
#include <ReefAngel_EEPROM.h>
#include <ReefAngel_NokiaLCD.h>
#include <ReefAngel_ATO.h>
#include <ReefAngel_Joystick.h>
#include <ReefAngel_LED.h>
#include <ReefAngel_TempSensor.h>
#include <ReefAngel_Relay.h>
#include <ReefAngel_PWM.h>
#include <ReefAngel_Timer.h>
#include <ReefAngel_Memory.h>
#include <ReefAngel.h>
void DrawCustomMain()
{
ReefAngel.LCD.DrawDate(6, 2);
ReefAngel.LCD.Clear(COLOR_BLACK, 1, 11, 132, 11);
char text[7];
ConvertNumToString(text, ReefAngel.Params.PH, 100);
ReefAngel.LCD.DrawLargeText(COLOR_SEAGREEN, DefaultBGColor, 12, 52, "pH :",
Font8x8);
ReefAngel.LCD.DrawLargeText(COLOR_GREEN, DefaultBGColor, 56, 48, text,
Font8x16);
ConvertNumToString(text, ReefAngel.Params.Temp1, 10);
ReefAngel.LCD.DrawHugeNumbers(COLOR_INDIGO, DefaultBGColor, 56, 20, text);
ReefAngel.LCD.DrawText(COLOR_MIDNIGHTBLUE, DefaultBGColor, 12, 24, "Tank :");
ReefAngel.LCD.DrawText(T2TempColor,DefaultBGColor, 12, 74, "LED Array :");
ReefAngel.LCD.DrawSingleMonitor(ReefAngel.Params.Temp2, T2TempColor,
95, 74, 10);
ReefAngel.LCD.DrawText(T3TempColor,DefaultBGColor, 12, 90, "Ambient Air :");
ReefAngel.LCD.DrawSingleMonitor(ReefAngel.Params.Temp3, T3TempColor,
95, 90, 10);
byte TempRelay = ReefAngel.Relay.RelayData;
TempRelay &= ReefAngel.Relay.RelayMaskOff;
TempRelay |= ReefAngel.Relay.RelayMaskOn;
ReefAngel.LCD.DrawOutletBox(12, 106, TempRelay);
}
void DrawCustomGraph()
{
}
void setup()
{
//Port 1 = Left powerhead 1
//Port 2 = LED (StandardLights)
//Port 3 = Left powerhead 2
//Port 4 = ATS pump
//Port 5 = UV bulb
//Port 6 = Right powerhead
//Port 7 = Heater
//Port 8 = Skimmer pump
ReefAngel.Init(); //Initialize controller
ReefAngel.PHMin=482;
ReefAngel.PHMax=832;
ReefAngel.FeedingModePorts = B10001100;
ReefAngel.WaterChangePorts = B10111101;
ReefAngel.OverheatShutoffPorts = B00000000;
ReefAngel.LightsOnPorts = B00000010;
// Ports that are always on
ReefAngel.Relay.On(Port1);
ReefAngel.Relay.On(Port3);
ReefAngel.Relay.On(Port4);
ReefAngel.Relay.On(Port5);
ReefAngel.Relay.On(Port6);
ReefAngel.Relay.On(Port8);
ReefAngel.LCD.Clear(DefaultBGColor, 1, 12, 131, 100);
}
void loop()
{
ReefAngel.ShowInterface();
// Specific functions
//ReefAngel.StandardLights(Port, OnHour, OnMinute, OffHour, OffMinute);
ReefAngel.StandardLights(2,10,30,23,00);
ReefAngel.StandardHeater(7,800,810);
ReefAngel.Relay.Write(); //Writes the value of RelayData to the RelayBox
}