Jebao Code

Request new hardware or ideas for the controller

Posts: 164
Joined: Mon Apr 29, 2013 6:50 am
PostPosted: Mon Jan 20, 2014 7:31 pm
Can someone please direct me to some good Jebao code? I am wondering what level of control is capable with the WP pumps.

Posts: 234
Joined: Tue Nov 05, 2013 8:40 am
Location: Houston TX
PostPosted: Mon Jan 20, 2014 7:36 pm

Posts: 164
Joined: Mon Apr 29, 2013 6:50 am
PostPosted: Tue Jan 21, 2014 7:54 am

OK, so the 2nd link you posted is actually the original post where the code is given to define all the various programmable functions of the Jebao like long pluse, short pulse, sine, reefcrest, nutrient transport, tidal swell, and tide.

And the 1st link is the more current thread where Roberto now states that all the wave pattern functions are now included in the library so we don't have to put all that code from the 2nd link into our RA user code???

If I'm understanding all that correctly, then I go back to the 1st link and use this code. In this example the 60 defines the % power of the pump and the 20 defines +/- variation allowing the pump to run anywhere from 40 to 80%? What is the standard code for the other various modes?

////// Place your custom code below here

ReefAngel.PWM.SetDaylight( ReefCrestMode(60,20,true) ); // ReefCrest at 60% +/- 20% on sync mode
ReefAngel.PWM.SetActinic( ReefCrestMode(60,20,false) ); // ReefCrest at 60% +/- 20% on anti-sync mode

////// Place your custom code above here

Return to Requests

Who is online

Users browsing this forum: No registered users and 1 guest