Page 1 of 3

Jebao DC Modes

PostPosted: Sat Feb 06, 2016 9:05 am
by Civics14
Can we get a sticky of all the Jebao mode settings and exactly how it functions? If you do a search you find a 100 topics

Re: Jebao DC Modes

PostPosted: Sat Feb 06, 2016 4:16 pm
by rimai
Here is a link of the modes inside the libraries.
viewtopic.php?f=7&t=2844

If you are using the DCPump class, here is a list of modes:

Constant
Lagoon
ReefCrest
ShortPulse
LongPulse
NutrientTransport
TidalSwell
Night
Storm
Custom
Gyre
Sine
Else

Re: Jebao DC Modes

PostPosted: Wed Feb 10, 2016 9:29 am
by Smotz
STORM ?! When did this happen ?!

Where can I get details?

Re: Jebao DC Modes

PostPosted: Wed Feb 10, 2016 12:57 pm
by Civics14
Thanks Roberto, could we do something where like your first post on this thread be updated with the most up to date info? Like I see gyre is missing from the first post. Also, what is storm?

rimai wrote:Here is a link of the modes inside the libraries.
viewtopic.php?f=7&t=2844

If you are using the DCPump class, here is a list of modes:

Constant
Lagoon
ReefCrest
ShortPulse
LongPulse
NutrientTransport
TidalSwell
Night
Storm
Custom

Re: Jebao DC Modes

PostPosted: Tue Feb 16, 2016 12:54 pm
by rimai
updated the modes

Re: Jebao DC Modes

PostPosted: Thu Feb 18, 2016 1:19 pm
by Smotz
rimai wrote:updated the modes


Sorry - where can I find info on storm, etc..? I do not see it in the original post.

Re: Jebao DC Modes

PostPosted: Thu Feb 18, 2016 7:04 pm
by rimai
Actually the storm mode never got ported to the DCPump class.
It is only available for vortech :(
I'll try to port it soon.

Re: Jebao DC Modes

PostPosted: Fri Feb 19, 2016 9:00 am
by cosmith71
Roberto, where is that code located? I looked through the libraries and couldn't find it.

Re: Jebao DC Modes

PostPosted: Fri Feb 19, 2016 12:01 pm
by lnevo
It's in the firmware for the RF module

Re: Jebao DC Modes

PostPosted: Fri Feb 19, 2016 4:24 pm
by rimai
I think this is it if you want to test:
Code: Select all
      if ((millis()-lastmillis) > (VTimer*100))
      {
        WavePhase++;
        if (WavePhase>12)
        {
          WavePhase=0;
          speed=0;
          anti_speed=0;
          back_speed=Vspeed;
        }
        if (WavePhase<=7 && WavePhase>0) if (speed==0) speed=Vspeed; else speed=0;
        if (WavePhase==1) anti_speed=Vspeed;
        if (WavePhase>6) if (anti_speed==0) anti_speed=Vspeed; else anti_speed=0;
        lastmillis=millis();
      }