Calculating LED current

I have an infrared LED i would like to control, the datasheet says 5V-100mA but i want to control it with 3.3v.

How do i calculate the current at 3.3v? I knew this once but i forgot.

You sure?
You need the forward voltage drop, normally about 1.8V, subtract this from the supply voltage then divide this by the current to get the resistance.
Remember you can only get 40mA from a pin and the 3V3 supply on many arduino modules is limited.

Grumpy_Mike:
You sure?
You need the forward voltage drop, normally about 1.8V, subtract this from the supply voltage then divide this by the current to get the resistance.
Remember you can only get 40mA from a pin and the 3V3 supply on many arduino modules is limited.

Made a mistake, Vf = 1.8v, If = 100mA.

I'm not powering this from the arduino's regulator, but a seperate one.

Ok answer still the same
3.3-1.8/0.1 = resistance in ohms.

Oh ok, thanks!