interactive leds controlled by sensors

Where does your loop() function end? How much code do you have beyond that point?