If the freq is known and constant, you can use the pulse in command
to measure the pulse width. With very little math you can repackage the result however you like. If the chip you are using has a capture module,
it can run in the background with very high resolution. (I am use this
for a 16 bit A/D converter)
R
Bookmarks