Related to the development libraries, released by Curt Binder
-
clw143
- Posts: 116
- Joined: Fri Jun 21, 2013 8:20 pm
- Location: Louisiana
Post
by clw143 »
What is the different between doing this:
Code: Select all
ReefAngel.DCPump.UseMemory = false;
ReefAngel.DCPump.SetMode( TidalSwell,60,10 );
ReefAngel.DCPump.DaylightChannel = Sync;
ReefAngel.DCPump.ActinicChannel = None;
and this:
Code: Select all
ReefAngel.PWM.SetDaylight( TidalSwellMode(60,true) );
-
lnevo
- Posts: 5422
- Joined: Fri Jul 20, 2012 9:42 am
Post
by lnevo »
The first will use more memory...otherwise as written they are the same.
Take out the set mode to tidalswell in the first and set usememory to true and it will read the params from the portal allowing you to change it..
Thats the advantage of the first..
-
rimai
- Posts: 12857
- Joined: Fri Mar 18, 2011 6:47 pm
Post
by rimai »
They are both the same.
The end result will be the same, I should say.
Roberto.
-
lnevo
- Posts: 5422
- Joined: Fri Jul 20, 2012 9:42 am
Post
by lnevo »
rimai wrote:They are both the same.
The end result will be the same, I should say.
I would argue that... partially...
the first one is one step away from being able to utilize the portal to change modes. but both are currently locked to the programmed mode and speed.
the first one though will use much more memory as has been discovered by others. So unless you have an RA+ I would not use the first as written.