switched one led with its resistor