Hi Andy and welcome back. Sorry for the kick!
About the firmware, I'd recommend to start without DT-INTS, as it is not necessary, at least for the first experiments.
Look at this phrase: "In my design pulses occur at 2 millisecond intervals. Pulse duration is 140 microseconds." This is easy for any PIC to produce.
Start by this and then try to check with analog input for the decay time it takes. Maybe comparator is better choice than ADC as it is much faster.
Ioannis
Bookmarks