Page 1 of 1

Overrrides

Posted: Mon Apr 29, 2013 12:43 pm
by thekameleon
For the Overrrides how do they work... Do I call them anytime before ShowInterface? Is the "override" only good for the one loop? If not, how do I turn off the overrides?

Re: Overrrides

Posted: Mon Apr 29, 2013 1:24 pm
by rimai
I'm assuming you are talking about the PWM overrides, right?
All you need to do is call the function like this:

Code: Select all

ReefAngel.PWM.SetActinicOverride(50);
It will be overridden to 50% until you call this:

Code: Select all

ReefAngel.PWM.SetActinicOverride(255);

Re: Overrrides

Posted: Mon Apr 29, 2013 1:39 pm
by thekameleon
Ahhh so a value of 255 resets it and a value of 0 to 100 sets it correct?

Re: Overrrides

Posted: Mon Apr 29, 2013 1:51 pm
by rimai
Technically speaking, any value above 100 resets and any value from 0-100 sets it.