toggling lights
Posted: Mon Jan 21, 2013 8:20 pm
saw this line of code:
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:
because I have lights on both relay blocks. Is this right?
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,RSMLEDMy code looks like this:
Code: Select all
ReefAngel.LightsOnPorts = Port1Bit | Port2Bit; // Toggle DT Lights
ReefAngel.LightsOnPortsE[0] = Port3Bit | Port4Bit; // Toggle GT Lights