faysal_002299
New Member
I am a newbie. I am using dsPIC30F3011 for my purpose.
1. I need to calculate the Pulse Width (dutycycle) of a PWM signal. Please anyone tell me the ALGORITHM I should follow for this.
2. What should I use here for feeding the MCU with the - use external interrupt or input capture or change notification?
It would be great if anyone provide me some code samples for doing this.
with thanks,
Faysal
1. I need to calculate the Pulse Width (dutycycle) of a PWM signal. Please anyone tell me the ALGORITHM I should follow for this.
2. What should I use here for feeding the MCU with the - use external interrupt or input capture or change notification?
It would be great if anyone provide me some code samples for doing this.
with thanks,
Faysal