See this thread for a few examples http://www.picbasic.co.uk/forum/showthread.php?p=23401
You might want to download the .PDF Steve linked to in that thread for more info on using capture. It's very handy once you get the hang of using it.
If you really want to have some fun, take a peek at the 18F2431 series. This one has a TON of options for measuring frequency, pulse width, PWM motor control, high-speed simultaneous 2-channel A/D sampling, and lots of other goodies.
Bookmarks