can somebody post a link to a page that has a function to calculate the duty cycle from an input PWM signal? I tried searching but couldn't find anything.
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Tue Apr 18, 2006 1:00 pm
Quote:
Can somebody post a link to a page that has a function to calculate the duty cycle
What is the expected period of the pulse ?
Here are two CCS example files that measure the pulse width:
EX_CCPMP.C
EX_PULSE.C
Look for these files in this folder: c:\Program Files\PICC\Examples
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum