set led without boolean operator