If they all start at "exactly" the same time then just pick one input to start a timer and then use interrupt on change as each input goes low(or high) to read the timer to determine each individual pulse width.
If they all start at "exactly" the same time then just pick one input to start a timer and then use interrupt on change as each input goes low(or high) to read the timer to determine each individual pulse width.
Last edited by Heckler; - 26th April 2013 at 15:53.
Dwight
These PIC's are like intricate puzzles just waiting for one to discover their secrets and MASTER their capabilities.
How about if you used 1 little 8 pin pic in each input to keep track of the pulse width on that pin and have a larger pic read the value from each of those pics to do your math and other software requirments.
Distributed processing...
Dwight
These PIC's are like intricate puzzles just waiting for one to discover their secrets and MASTER their capabilities.
Bookmarks