ReEfnWrX's INO

Share you PDE file with our community
User avatar
Posts: 5349
Joined: Fri Jul 20, 2012 9:42 am
PostPosted: Mon Jul 28, 2014 11:43 am
Ahh ok. that makes sense nothing about LightsOnPorts in that code block.

Posts: 12248
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Mon Jul 28, 2014 11:45 am
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
Posts: 5349
Joined: Fri Jul 20, 2012 9:42 am
PostPosted: Mon Jul 28, 2014 11:50 am
Ahh ok.

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

ReefAngel.PWM.LightsOverride = false;

Posts: 12248
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Mon Jul 28, 2014 11:51 am
Yes, that was the idea, but I'm not sure if we ever made that work as intended.
Roberto.
Previous

Return to My PDE/INO file

Who is online

Users browsing this forum: No registered users and 1 guest

cron