Discussione: Reef Angel
Visualizza un messaggio singolo
Vecchio 12-04-2011, 17:40   #322
LukeLuke
Imperator
 
L'avatar di LukeLuke
 
Registrato: Nov 2003
Città: roma
Acquariofilo: Marino
N° Acquari: 1
Età : 45
Messaggi: 5.164
Foto: 0 Albums: 1
Post "Grazie" / "Mi Piace"
Grazie (Dati):
Grazie (Ricev.):
Mi piace (Dati):
Mi piace (Ricev.):
Mentioned: 2 Post(s)
Feedback 2/100%

Annunci Mercatino: 0
nel mio file zip non c'è il pde....

facciamo il contrario... crea un file chiamato RAMenus.pde e ci incolli dentro queste righe:

codice:
// RAMenus.pde
//
// This version designed for v0.8.5 Beta 10 and later

#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 setup()
{
    ReefAngel.Init(); //Initialize controller
    ReefAngel.SetTemperatureUnit(1);  // set to Celsius Temperature


    // Set the ports that get toggled on & off during the following modes
    // To enable a port to be toggled, place a 1 in the appropriate position
    // Uncomment and update as needed
    // Port 87654321
    //ReefAngel.FeedingModePorts = B10011100;
    //ReefAngel.WaterChangePorts = B10011100;
    //ReefAngel.OverheatShutoffPorts = B00001100;
    //ReefAngel.LightsOnPorts = B00000110;

    // Ports that are always on
    ReefAngel.Relay.On(Port8);
}

void loop()
{
    ReefAngel.ShowInterface();

    // Specific functions
    ReefAngel.StandardATO(Port1);
    ReefAngel.StandardLights(Port2);
    ReefAngel.MHLights(Port3);
    ReefAngel.Wavemaker1(Port4);
    ReefAngel.Wavemaker2(Port5);
    ReefAngel.StandardFan(Port6);
    ReefAngel.StandardHeater(Port7);
}
LukeLuke non è in linea   Rispondi quotando
 
Page generated in 0,09379 seconds with 13 queries