Duty cycle doubt

The data sheet says:-

automatic current control driver included,

So you just have to insure you have the right voltage.

about the resistor. I noticed it was the wrong way and I removed it

I hope you are not using it with 5V, The maximum voltage according to that sheet is 2.5V, you should not even be driving it with 3.3V. You should be driving it with 1.8V.

Nevertheless, still I have doubts about the duty cycle.

You have to explain why you have those doubts.
The duty cycle has nothing to do with anything here.