Reply To: Microsecond variable Delay in MikroC

Home Forums Microcontrollers PIC Microcontroller Microsecond variable Delay in MikroC Reply To: Microsecond variable Delay in MikroC

#11239

Prasad
Participant

But I need to control a 180 deg servo with pic16f84a. PIC16f84a doesn’t have PWM.

In servo motor datasheet it says that,

1000us delay   = 0 deg

1500us delay   = 90 deg

2000us delay  = 180 deg

So, how can I obtain a delay between 1000us and 2000us

 

string(7) "9898001"