At school I was told "Never use a LED without a resistor (before or after the LED)!".
Why is that?
If I have a 2V LED why can't I simply use a 2V power supply?
Why should I choose a 3V (for example) power supply and put a resistor in front?
And how to calculate the resistor value?