ReEfnWrX's INO

Share you PDE file with our community
Post Reply
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: ReEfnWrX's INO

Post by lnevo »

Ahh ok. that makes sense nothing about LightsOnPorts in that code block.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: ReEfnWrX's INO

Post 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;
	}
Roberto.
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: ReEfnWrX's INO

Post by lnevo »

Ahh ok.

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

ReefAngel.PWM.LightsOverride = false;
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: ReEfnWrX's INO

Post by rimai »

Yes, that was the idea, but I'm not sure if we ever made that work as intended.
Roberto.
Post Reply