If I may point out the obvious here: An LED typically requires about 20ma. and has a voltage drop of about 2 volts when forward biased. Assuming 240 volts across the line, that means the resistor would need to dissipate 238*0.02=4.76 Watts, far more than that puny resistor in the photo could handle, not to mention a tremendous waste of energy. LEDs also don't take well to being back biased with up to 340 volts peak. What I'm saying is that you can't just put a resistor in series with an LED and plop it across the AC line voltage (though that's exactly what you can do with a neon bulb). I've built line-powered LED nightlights, and it requires at a minimum a capacitor, resistor, and diode in addition to the LED.
Because of the glare, I can't make out the value of the resistor, but it looks like 820 ohms which certainly won't drop the bulk of 240 volts without exploding. Resistors used in series with neon bulbs are in the meg-ohms range.
What you have is not what it appears - beware (and make sure you have your life and fire insurance paid up.)
Because of the glare, I can't make out the value of the resistor, but it looks like 820 ohms which certainly won't drop the bulk of 240 volts without exploding. Resistors used in series with neon bulbs are in the meg-ohms range.
What you have is not what it appears - beware (and make sure you have your life and fire insurance paid up.)