<font face="Arial, Verdana">Just to make sure i tested it and it does not do what i want. It just controls the initial state of the lights so ON/OFF. It does not invert the logic levels Also code confirms my observations the state of the lights is only depended of the logic level of the pin.</font>
<font face="Arial, Verdana">
</font>
<font face="Arial, Verdana">#if CASE_LIGHTS_PIN > -1</font>
<font face="Arial, Verdana"> if(READ(CASE_LIGHTS_PIN))</font>
<font face="Arial, Verdana"> Com::printInfoFLN(PSTR("Case lights on"));</font>
<font face="Arial, Verdana"> else</font>
<font face="Arial, Verdana"> Com::printInfoFLN(PSTR("Case lights off"));</font>