How to detect if a light bulb is burned out or blown in Arduino

How do you detect if the LED has failed?