I'm trying to calculate what resistor to use for this optocoupler.
Per the datasheet, it drops 1.3v at 50mA does this mean I should try choose a resistor that gives me 50mA?
My supply is 3.3V so my calculation was set out as follows:
R = V / I
V should be the supply voltage minus the drop over the diode, so 3.3V - 1.3V = 2V, and per the datasheet I should try get 50mA:
R = 2V / 0.05A = 40 Ohms
Is that correct?