Page 1 of 1

Re: ReEfnWrX's INO

Posted: Mon Jul 28, 2014 11:43 am
by lnevo
Ahh ok. that makes sense nothing about LightsOnPorts in that code block.

Re: ReEfnWrX's INO

Posted: Mon Jul 28, 2014 11:45 am
by rimai
There is a check some likes up:

Code: Select all

	for (int l=0;l<8;l++)
	{
		if (LightsOnPorts & 1<<l)
			if (ReefAngel.Relay.RelayMaskOn & 1<<l) LightRelayOn=true;
	}

Re: ReEfnWrX's INO

Posted: Mon Jul 28, 2014 11:50 am
by lnevo
Ahh ok.

So the best way to disable this behavior from what I found would be to define

ReefAngel.PWM.LightsOverride = false;

Re: ReEfnWrX's INO

Posted: Mon Jul 28, 2014 11:51 am
by rimai
Yes, that was the idea, but I'm not sure if we ever made that work as intended.