I would like to set ports 5 and 6 to random and port 1 to turn off with a float switch can this be done?
If so what codes need to be replaced and with what.
I want my skimmer to turn off when skimmate container is full.
Thank you
Keith
wave maker and skimmer
Re: wave maker and skimmer
Try this:
Code: Select all
ReefAngel.WavemakerRandom1( Port6,60,100 );
ReefAngel.WavemakerRandom2( Port5,60,100 );
ReefAngel.Relay.Set( Port1, ReefAngel.HighATO.IsActive );
Roberto.
Re: wave maker and skimmer
Still not working for me where do i put this I keep getting an error.
Re: wave maker and skimmer
You need to place it in the loop() section.
What is the error you are getting?
What is the error you are getting?
Roberto.
Re: wave maker and skimmer
Actually... I just noticed a typo...
Use this:
Use this:
Code: Select all
ReefAngel.WavemakerRandom1( Port6,60,100 );
ReefAngel.WavemakerRandom2( Port5,60,100 );
ReefAngel.Relay.Set( Port1, ReefAngel.HighATO.IsActive() );
Roberto.
Re: wave maker and skimmer
I still cant get it where exactly do I put the code. I load the preloaded and try pasteing it in the ( ) after where it said loop() and i get an error
The following features were automatically added:
Watchdog Timer
Version Menu
The following features were detected:
Dimming Signal
Extra Font - Medium Size (8x8 pixels)
Date/Time Setup Menu
Standard Menu
RA_Preloaded:32: error: variable or field 'loop' declared void
RA_Preloaded:32: error: expected `)' before ';' token
RA_Preloaded:33: error: expected constructor, destructor, or type conversion before '.' token
RA_Preloaded:34: error: expected constructor, destructor, or type conversion before '.' token
RA_Preloaded:35: error: expected unqualified-id before ')' token
What am I doing wrong and I cant open the wizard on my netbook.
The following features were automatically added:
Watchdog Timer
Version Menu
The following features were detected:
Dimming Signal
Extra Font - Medium Size (8x8 pixels)
Date/Time Setup Menu
Standard Menu
RA_Preloaded:32: error: variable or field 'loop' declared void
RA_Preloaded:32: error: expected `)' before ';' token
RA_Preloaded:33: error: expected constructor, destructor, or type conversion before '.' token
RA_Preloaded:34: error: expected constructor, destructor, or type conversion before '.' token
RA_Preloaded:35: error: expected unqualified-id before ')' token
What am I doing wrong and I cant open the wizard on my netbook.
Re: wave maker and skimmer
Put it after the { after void loop().
--Colin
--Colin
Re: wave maker and skimmer
Like this:
void loop()
{
ReefAngel.WavemakerRandom1( Port6,60,100 );
ReefAngel.WavemakerRandom2( Port5,60,100 );
ReefAngel.Relay.Set( Port1, ReefAngel.HighATO.IsActive() );
Rest of the code...
--Colin
void loop()
{
ReefAngel.WavemakerRandom1( Port6,60,100 );
ReefAngel.WavemakerRandom2( Port5,60,100 );
ReefAngel.Relay.Set( Port1, ReefAngel.HighATO.IsActive() );
Rest of the code...
--Colin