Benvenuti sul Forum di AcquaPortal, la più grande community italiana di acquariofilia!
Sul Forum di AcquaPortal puoi discutere con altri appassionati di acquariofilia, tenere un tuo Blog personale, inserire foto e video, chattare, ed aiutarci a creare un grande database con schede di pesci, invertebrati e prodotti di acquariofilia.
Per entrar a far parte della comunità occorre registrarsi.
Per farlo premi su Registrazione
Al momento della registrazione ti verrà richiesto di accettare il Regolamento che ti consigliamo di leggere attentamente.
Ti consigliamo inoltre di leggere le FAQ per apprendere le funzionalità principali del forum.
Se invece sei un utente registrato e hai dimenticato i tuoi dati di accesso devi effettuare il Recupero dati .
Tecnica marino Per parlare della vasca, del mobile, della sump, dell'impianto idraulico, delle attrezzature e degli accessori (pompe, filtri, schiumatoi, reattori, ecc).
05-04-2011, 07:31
#11
Guppy
Registrato: Dec 2003
Città: Castelnuovo Monti - Reggio Emilia
Acquariofilo: Marino
N° Acquari: 1
Età : 55
Messaggi: 218
Post "Grazie" / "Mi Piace"
Mentioned: 0 Post(s)
Annunci Mercatino: 0
questo è il pde intero
Quote:
//*Autogenerated*file*by*RAGen*(v1.0.4.92),*(04/02/2011*09:57)
//*Memory_040211_0957.pde
//
//*This*file*sets*the*default*values*to*the*Internal *Memory
//
#include*<ReefAngel_Features.h>
#include*<ReefAngel_Globals.h>
#include*<Time.h>
#include*<OneWire .h>
#include*<Phillips6610LCDInv.h>
#include*<avr/pgmspace.h>
#include*<ReefAngel_EEPROM.h>
Phillips6610LCDInv*e;
void RitardoSkimmer(byte SKPort, byte SKDelay)
{
unsigned int SKTimer = SKDelay;
SKTimer**=*SECS_PER_MIN;
if ( now ()-RAStart > SKTimer )
ReefAngel.Relay.On(SKPort);
}
void setup ()
{
****e.lcd_init();
****e.lcd_clear(COLOR_WHITE,0,0,132,132);
****e.lcd_BacklightOn();
****InternalMemory.MHOnHour_write(8);
****InternalMemory.MHOnMinute_write(0);
****InternalMemory.MHOffHour_write(15);
****InternalMemory.MHOffMinute_write(0);
****InternalMemory.MHDelay_write(5);
****InternalMemory.StdLightsOnHour_write(8);
****InternalMemory.StdLightsOnMinute_write(0);
****InternalMemory.StdLightsOffHour_write(15);
****InternalMemory.StdLightsOffMinute_write(0);
****InternalMemory.DP1OnHour_write(20);
****InternalMemory.DP1OnMinute_write(0);
****InternalMemory.DP2OnHour_write(22);
****InternalMemory.DP2OnMinute_write(30);
****InternalMemory.DP1Timer_write(10);
****InternalMemory.DP2Timer_write(10);
****InternalMemory.DP1RepeatInterval_write(60);
****InternalMemory.DP2RepeatInterval_write(60);
****InternalMemory.ATOTimeout_write(60);
****InternalMemory.ATOHighTimeout_write(60);
****InternalMemory.ATOHourInterval_write(0);
****InternalMemory.ATOHighHourInterval_write(0);
****InternalMemory.FeedingTimer_write(900);
****InternalMemory.LCDTimer_write(600);
****InternalMemory.LEDPWMActinic_write(50);
****InternalMemory.LEDPWMDaylight_write(50);
****InternalMemory.WM1Timer_write(200);
****InternalMemory.WM2Timer_write(354);
****InternalMemory.HeaterTempOn_write(780);
****InternalMemory.HeaterTempOff_write(791);
****InternalMemory.ChillerTempOn_write(810);
****InternalMemory.ChillerTempOff_write(785);
****InternalMemory.OverheatTemp_write(1500);
****InternalMemory.PHMax_write(840);
****InternalMemory.PHMin_write(550);
}
void loop ()
{
**RitardoSkimmer(Port4,60)
****// display the values
****char buf[128];
****sprintf(buf,*"MH %2d:%02d-%2d:%02d,%d" , InternalMemory.MHOnHour_read(), InternalMemory.MHOnMinute_read(),
*****************************************InternalM emory.MHOffHour_read(),*InternalMemory.MHOffMinute _read(),
*****************************************InternalM emory.MHDelay_read());
****e.lcd_draw_text(COLOR_BLACK,*COLOR_WHITE,*MENU _START_COL,*MENU_START_ROW,*buf);
****sprintf(buf,*"Std %2d:%02d-%2d:%02d" , InternalMemory.StdLightsOnHour_read(), InternalMemory.StdLightsOnMinute_read(),
******************************************Internal Memory.StdLightsOffHour_read(),*InternalMemory.Std LightsOffMinute_read());
****e.lcd_draw_text(COLOR_BLACK,*COLOR_WHITE,*MENU _START_COL,*MENU_START_ROW*2,*buf);
****sprintf(buf,*"LED A: %d%% D: %d%%" , InternalMemory.LEDPWMActinic_read(), InternalMemory.LEDPWMDaylight_read());
****e.lcd_draw_text(COLOR_BLACK,*COLOR_WHITE,*MENU _START_COL,*MENU_START_ROW*3,*buf);
****sprintf(buf,*"WM1: %ds" , InternalMemory.WM1Timer_read());
****e.lcd_draw_text(COLOR_BLACK,*COLOR_WHITE,*MENU _START_COL,*MENU_START_ROW*4,*buf);
****sprintf(buf,*"WM2: %ds" , InternalMemory.WM2Timer_read());
****e.lcd_draw_text(COLOR_BLACK,*COLOR_WHITE,*MENU _START_COL,*MENU_START_ROW*5,*buf);
****sprintf(buf,*"F: %ds" , InternalMemory.FeedingTimer_read());
****e.lcd_draw_text(COLOR_BLACK,*COLOR_WHITE,*MENU _START_COL,*MENU_START_ROW*6,*buf);
****sprintf(buf,*"S: %ds" , InternalMemory.LCDTimer_read());
****e.lcd_draw_text(COLOR_BLACK,*COLOR_WHITE,*MENU _START_COL,*MENU_START_ROW*7,*buf);
****sprintf(buf,*"H On: %d -> %d" , InternalMemory.HeaterTempOn_read(), InternalMemory.HeaterTempOff_read());
****e.lcd_draw_text(COLOR_BLACK,*COLOR_WHITE,*MENU _START_COL,*MENU_START_ROW*9,*buf);
****sprintf(buf,*"C On: %d -> %d" , InternalMemory.ChillerTempOn_read(), InternalMemory.ChillerTempOff_read());
****e.lcd_draw_text(COLOR_BLACK,*COLOR_WHITE,*MENU _START_COL,*MENU_START_ROW*10,*buf);
****sprintf(buf,*"PH %d - %d" , InternalMemory.PHMax_read(), InternalMemory.PHMin_read());
****e.lcd_draw_text(COLOR_BLACK,*COLOR_WHITE,*MENU _START_COL,*MENU_START_ROW*11,*buf);
****delay (10000);
****e.lcd_clear(COLOR_WHITE,0,0,132,132);
****sprintf(buf,*"OH: %dF" , InternalMemory.OverheatTemp_read());
****e.lcd_draw_text(COLOR_BLACK,*COLOR_WHITE,*MENU _START_COL,*MENU_START_ROW,*buf);
****sprintf(buf,*"ATO L: %ds (%dh)" , InternalMemory.ATOTimeout_read(), InternalMemory.ATOHourInterval_read());
****e.lcd_draw_text(COLOR_BLACK,*COLOR_WHITE,*MENU _START_COL,*MENU_START_ROW*2,*buf);
****sprintf(buf,*"ATO H: %ds (%dh)" , InternalMemory.ATOHighTimeout_read(), InternalMemory.ATOHighHourInterval_read());
****e.lcd_draw_text(COLOR_BLACK,*COLOR_WHITE,*MENU _START_COL,*MENU_START_ROW*3,*buf);
****sprintf(buf,*"DP1: %2d:%02d" , InternalMemory.DP1OnHour_read(), InternalMemory.DP1OnMinute_read());
****e.lcd_draw_text(COLOR_BLACK,*COLOR_WHITE,*MENU _START_COL,*MENU_START_ROW*5,*buf);
****sprintf(buf,*" %ds" , InternalMemory.DP1Timer_read());
****e.lcd_draw_text(COLOR_BLACK,*COLOR_WHITE,*MENU _START_COL,*MENU_START_ROW*6,*buf);
****sprintf(buf,*"DP2: %2d:%02d" , InternalMemory.DP2OnHour_read(), InternalMemory.DP2OnMinute_read());
****e.lcd_draw_text(COLOR_BLACK,*COLOR_WHITE,*MENU _START_COL,*MENU_START_ROW*7,*buf);
****sprintf(buf,*" %ds" , InternalMemory.DP2Timer_read());
****e.lcd_draw_text(COLOR_BLACK,*COLOR_WHITE,*MENU _START_COL,*MENU_START_ROW*8,*buf);
****delay (10000);
****e.lcd_clear(COLOR_WHITE,0,0,132,132);
}
__________________
Regole d'invio
Non puoi inserire discussioni
Non puoi inserire repliche
Non puoi inserire allegati
Non puoi modificare i tuoi messaggi
il codice HTML è disattivato
-- English (US)
-- Italiano