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