Thank youYou seem to be confusing duty cycle with voltage. If you have a PWM signal of 3V at 60%, that does not make the voltage 1.8V. The voltage is either 3V or 0V in the two parts of the cycle.
A Voltmeter will read something like 1.8V because it is measuring an average.
But that is NOT the voltage to use in your LED resistor calculation. The voltage you should use for that is 3V minus the Vcesat of the transistor.
Assuming a saturation voltage of about 0.3, and 80 mA, the calculation looks like this:
3 - 0.3 - 1.3 = 0.08 R
R = (3 -0.3 - 1.3) / 0.8 = 17.5 Ohms
Bob
I can see thing cleariest now...
I tought that voltage on the colector rises as duty cycle rise to 60% (0-1.8 V) in other words i tought that colector voltage reaches 60% only and then transistor shuts off.
I was wrong