Version Library for Jebao??

Do you have a question on how to do something.
Ask in here.
Post Reply
kirkwood
Posts: 173
Joined: Mon Apr 29, 2013 6:50 am

Version Library for Jebao??

Post by kirkwood »

My current library version is 1.0.1

Do I need to update to 1.0.4 in order to run Jebao code like this?? If so how do I update the library?


if (hour()>=8 && hour()<12)
{
ReefAngel.PWM.SetDaylight( TidalSwellMode(50,true) ); // Lagoon at 40% +/- 20% on sync mode
ReefAngel.PWM.SetActinic( TidalSwellMode(50,false) ); // Lagoon at 40% +/- 20% on anti-sync mode
}
else if (hour()>=12 && hour()<15)
{
ReefAngel.PWM.SetDaylight( ShortPulseMode(0,40,200,true) ); // Short pulse at 40% with 200ms pulse on sync mode
ReefAngel.PWM.SetActinic( ShortPulseMode(0,40,200,false) ); // Short pulse at 40% with 200ms pulse on anti-sync mode
}
else if (hour()>=15 && hour()<21)
{
ReefAngel.PWM.SetDaylight( ReefCrestMode(50,20,true) ); // ReefCrest on 50% with +/-20% on sync mode
ReefAngel.PWM.SetActinic( ReefCrestMode(50,20,false) ); // ReefCrest on 50% with +/-20% on anti-sync mode
}
else if (hour()>=21 && hour()<23)
{
ReefAngel.PWM.SetDaylight( NutrientTransportMode(20,70,200,true) ); // NTM at 50% with 20% +/- on sync mode
ReefAngel.PWM.SetActinic( NutrientTransportMode(20,70,200,false) ); // NTM at 50% with 20% +/- on anti-sync mode
}
else
{
ReefAngel.PWM.SetDaylight( LongPulseMode(20,60,10,true) ); // Long pulse at 60% with 10s pulse on sync mode
ReefAngel.PWM.SetActinic( LongPulseMode(20,60,10,false) ); // Long pulse at 60% with 10s pulse on anti-sync mode
}
Image
User avatar
lnevo
Posts: 5422
Joined: Fri Jul 20, 2012 9:42 am

Re: Version Library for Jebao??

Post by lnevo »

You need 1.1.0 i believe which is the current. At least 1.0.9 i think added the wave functions
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Version Library for Jebao??

Post by rimai »

The libraries should auto-update.
To see which version you have installed, go to menu Tools->Reef Angel Libraries Version
Roberto.
Post Reply