Why would an MR16 LED light only work when power is cut

led

I had just gotten a package of LED coloured light and all of them work except one. strangely as soon as I unplug it ,it flashes for a second. what does this mean and how can I fix it?

Best Answer

Could be reversed polarity - and the power supply may put out an opposite voltage spike when shut off.