Overrrides

Related to the development libraries, released by Curt Binder
Post Reply
thekameleon
Posts: 137
Joined: Sat Feb 16, 2013 7:44 am

Overrrides

Post 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?
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Overrrides

Post 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);
Roberto.
thekameleon
Posts: 137
Joined: Sat Feb 16, 2013 7:44 am

Re: Overrrides

Post by thekameleon »

Ahhh so a value of 255 resets it and a value of 0 to 100 sets it correct?
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Overrrides

Post by rimai »

Technically speaking, any value above 100 resets and any value from 0-100 sets it.
Roberto.
Post Reply