Re: My controller
Posted: Tue Dec 27, 2011 12:03 pm
Your first error is that you have my Development libraries loaded and not the Standard libraries. You will want to switch to the Standard libraries to use the StandardGUI function.
If you plan to use the Development libraries (recommended for more functionality), you will need a lot more includes in the PDE file. So the equivalent to the code you provided would be:
The Client Suite will only work with the Development Libraries.
curt
If you plan to use the Development libraries (recommended for more functionality), you will need a lot more includes in the PDE file. So the equivalent to the code you provided would be:
Code: Select all
#include <ReefAngel_Features.h>
#include <ReefAngel_Globals.h>
// this next line only needed if you plan on doing any USB or WIFI communications
// so if you are going to use Client Suite, you need this line
//#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 setup()
{
ReefAngel.Init(); //Initialize controller
}
void loop()
{
ReefAngel.ShowInterface();
}
curt