This method is correct for some specified angles. Because delay_us(), can’t have a variable value. It should be fixed. But I want to rotate Servo in random angles. That angle comes from some calculation.
So the delay is in between 1000us and 2000us.
ex
1300, 1850 or something.
How can I obtain that type of delay.