Page 1 of 1

Jebao Reef Crest question

Posted: Mon Jun 24, 2013 3:57 am
by Smotz
I have my reefcrest set to 45,12 - why does it go as low as 25% - shouldn't this give me a min of 33% and a max of 57%?

Re: Jebao Reef Crest question

Posted: Mon Jun 24, 2013 2:01 pm
by ReeferBee
Good question. Same thing with mine, not sure why this happens.

Re: Jebao Reef Crest question

Posted: Mon Jun 24, 2013 2:35 pm
by lnevo
Curious if your pump is set to sync or antisync?

Re: Jebao Reef Crest question

Posted: Mon Jun 24, 2013 2:44 pm
by rimai
If you are using the dosing pump class, it is hard coded to +/-10% for lagoon and +/-20% for reefcrest

Re: Jebao Reef Crest question

Posted: Mon Jun 24, 2013 2:53 pm
by lnevo
DCPump class you mean...your getting ahead of me...need to put that bit together :)

Re: Jebao Reef Crest question

Posted: Mon Jun 24, 2013 3:15 pm
by ReeferBee
Daylight is true
Actinic is false

So anti sync... Right?



it's pre set to 20 so if you put 12 like the OP it's combined? Like 32 + - ?

Re: Jebao Reef Crest question

Posted: Mon Jun 24, 2013 3:17 pm
by ReeferBee
I don't know what dcpump class is lol

Re: Jebao Reef Crest question

Posted: Mon Jun 24, 2013 3:40 pm
by Smotz
+1

Sent from my SCH-I605 using Tapatalk 4 Beta

Re: Jebao Reef Crest question

Posted: Mon Jun 24, 2013 4:07 pm
by rimai
Where are you putting 12?

Re: Jebao Reef Crest question

Posted: Mon Jun 24, 2013 5:01 pm
by Smotz
rimai wrote:Where are you putting 12?
wpWavStr=45;
wpWavOff=12;
ReefAngel.DCPump.SetMode( ReefCrest,wpWavStr,wpWavOff );

Re: Jebao Reef Crest question

Posted: Mon Jun 24, 2013 5:14 pm
by rimai
This is the SetMode function for the DCPump class:

Code: Select all

void DCPumpClass::SetMode(byte mode, byte speed, byte duration)

Re: Jebao Reef Crest question

Posted: Mon Jun 24, 2013 5:20 pm
by Smotz
rimai wrote:This is the SetMode function for the DCPump class:

Code: Select all

void DCPumpClass::SetMode(byte mode, byte speed, byte duration)

can you elaborate how i would use that base on my code?
ReefAngel.DCPump.SetMode( ReefCrest,wpWavStr,wpWavOff );

Re: Jebao Reef Crest question

Posted: Mon Jun 24, 2013 5:24 pm
by rimai
You can't.
Like I said.
Reef Crest is hard coded to 20% and Lagoon to 10%.
If you want to do your own function, you will need to use the custom mode.

Re: Jebao Reef Crest question

Posted: Mon Jun 24, 2013 5:40 pm
by Smotz
rimai wrote:You can't.
Like I said.
Reef Crest is hard coded to 20% and Lagoon to 10%.
If you want to do your own function, you will need to use the custom mode.
what is the correct way to use reefcrest in custom mode?

Re: Jebao Reef Crest question

Posted: Mon Jun 24, 2013 7:05 pm
by lnevo

Code: Select all


if (ReefAngel.DCPump.Mode==Custom) {
ReefAngel.DCPump.UseMemory=false;
ReefAngel.PWM.SetDaylight(ReefCrestMode(ReefAngel.DCPump.Speed,ReefAngel.DCPump.Duration, ReefAngel.DCPump.DaylightChannel-1));
ReefAngel.PWM.SetActinic(ReefCrestMode(ReefAngel.DCPump.Speed,ReefAngel.DCPump.Duration, ReefAngel.DCPump.ActinicChannel-1));
} else {
ReefAngel.DCPump.UseMemory=true;
}

although Roberto, I think we should allow Duration to be part of the default mode for ReefCrest. You could say ReefAngel.DCPump.Duration for Lagoon and ReefAngel.DCPump.Duration*2 for ReefCrest. That's my $.02 Just seems a waste of custom mode :)

Re: Jebao Reef Crest question

Posted: Mon Jun 24, 2013 7:37 pm
by rimai
Isn't it just going to confuse people?
Set offset with the duration field?

Re: Jebao Reef Crest question

Posted: Mon Jun 24, 2013 7:52 pm
by Smotz
rimai wrote:Isn't it just going to confuse people?
Set offset with the duration field?
I know I'm confused.

I set my reefcrest to a certain strength depending on the hour. I wanted to take advantage of the new class and just set my portal settings to custom.

Re: Jebao Reef Crest question

Posted: Mon Jun 24, 2013 8:01 pm
by lnevo
rimai wrote:Isn't it just going to confuse people?
Set offset with the duration field?
I don't know... makes perfect sense to me. :)