Calculating IR Emmitter Resistor Value

Ohm's Law: R = (VSUPPLY - VLED)/ILED