Microcontroller › 8051 › PWM of servo motor using timer(mode 2) 89C51 › Hi Tahira,You are
September 19, 2013 at 5:05 am
#10469
Participant
Hi Tahira,
You are continuously checking the timer flag inside a function to know whtehr the timer overflows or not, are you?. The better method is to enable the timer interrupt and use the timer ISR.