Discussione: Reef Angel
Visualizza un messaggio singolo
Vecchio 16-07-2011, 16:55   #504
mrwlf
Guppy
 
Registrato: Jul 2009
Città: Rignano sull'Arno
Acquariofilo: Dolce/Marino
N° Acquari: 2
Età : 41
Messaggi: 127
Foto: 0 Albums: 0
Post "Grazie" / "Mi Piace"
Grazie (Dati):
Grazie (Ricev.):
Mi piace (Dati):
Mi piace (Ricev.):
Mentioned: 1 Post(s)
Feedback 0/0%

Annunci Mercatino: 0
Non mi funziona...

Posto il pde che sto sviluppando

codice:
#include <Wire.h>
#include <EEPROM.h>
#include <OneWire.h>
#include <Time.h>
#include <DS1307RTC.h>
#include <NokiaLCD.h>
#include <ReefAngel.h>

#define Heater          1
#define Daylight        2
#define Aeratore        3
#define vuoto4          4
#define vuoto5          5
#define vuoto6          6
#define Rabbocco        7
#define Elettrov        8

void setup()
{
  ReefAngel.Init();  //Initialize controller
  ReefAngel.LCD.SetContrast(60);  // Set contrast to 60
  ReefAngel.SetTemperatureUnit(1); //Set to Celsius Temperature
}

void loop()
{
  ReefAngel.StandardGUI();   //Draw the Standard Interface
  ReefAngel.StandardHeater(Heater,245,255);  // Setup Heater to turn on at 24.5 and off at 25.5
  ReefAngel.MHLights(Daylight,10,0,20,0,5);  //Daylight schedule 10.00 - 20.00 with 5min cool down
  ReefAngel.StandardLights(Aeratore,20,00,20,10);  //Aeratore schedule 20.00 - 20.10
  ReefAngel.SingleATOHigh(Rabbocco); // Rabbocco con un gallegiante su porta 7
  ReefAngel.SingleATOLow(Elettrov); // Elettrovalvola porta 8
  ReefAngel.Relay.Write();  // Make relay changes effective
}

Questo è l'errore
codice:
puntodipartenza.cpp: In function 'void loop()':
puntodipartenza:30: error: 'class ReefAngelClass' has no member named 'SingleATOHigh'
puntodipartenza:31: error: 'class ReefAngelClass' has no member named 'SingleATOLow'
mrwlf non è in linea   Rispondi quotando
 
Page generated in 0,07704 seconds with 13 queries