Hi,
Using RCTime or PulsIn you just can't measure them simultanously, you have to grab them one after the other.
There may be other solutions depending on which PIC you're using and what type of resolution and accuracy you require. On the leading edge of the pulse(s) you start a hardware timer, then you poll each input and on the trailing edge of each pulse you grab the timer value. There will be some measurement jitter but perhaps it'll work. Another solution might be to just dedicate a small 8-pin PIC to measure each of the pulse and send the result to the master.
/Henrik.
Bookmarks