Do you have a question on how to do something.
Ask in here.
rossbryant1956
Posts: 471 Joined: Sat Jan 14, 2012 2:08 pm
Location: Montgomery Village, MD
Post
by rossbryant1956 » Mon Jan 21, 2013 8:20 pm
saw this line of code:
Code: Select all
// Ports toggled when Lights On / Off menu entry selected
ReefAngel.LightsOnPorts = 0;
ReefAngel.LightsOnPortsE[0] = Port1Bit | Port2Bit | Port3Bit | Port4Bit; //Center+Front+BackT5,RSMLED
What does this first line say; that there are no lights on the first relay block, they are all on the second relay?
My code looks like this:
Code: Select all
ReefAngel.LightsOnPorts = Port1Bit | Port2Bit; // Toggle DT Lights
ReefAngel.LightsOnPortsE[0] = Port3Bit | Port4Bit; // Toggle GT Lights
because I have lights on both relay blocks. Is this right?
Roscoe's Reefs - Starting Over Again:
Building new 29g Nano after landlord went berserk over my 4 75 gallon tanks, Multiple RA's, Water mixing stations, etc. Your help welcomed in remembering all I've forgotten.
rimai
Posts: 12857 Joined: Fri Mar 18, 2011 6:47 pm
Post
by rimai » Mon Jan 21, 2013 8:25 pm
Yes
Roberto.