Are you sure it's the pulse length that you need to measure and not the frequency ?
What happened to the idea of using a CHANGE interrupt and reading the pin to discover whether it was a falling or rising event that had occurred ?
Are you sure it's the pulse length that you need to measure and not the frequency ?
What happened to the idea of using a CHANGE interrupt and reading the pin to discover whether it was a falling or rising event that had occurred ?