Elapsed time in milliseconds between two input signals.
I am using an optical reflective sensor and a Raspberry Pi using Python or C (whichever is faster) to measure RPM. So I need to measure elapsed time in milliseconds between two signals on an GPIO pin. Will appreciate help.
|