Home › Forums › Microcontrollers › PIC Microcontroller › Microsecond variable Delay in MikroC › Reply To: Microsecond variable Delay in MikroC
April 21, 2015 at 9:20 pm #11250
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.
1300, 1850 or something.
How can I obtain that type of delay.