Resolved! Measuring elapsed time in nanoseconds
I need to measure the time it takes for a component to reach a certain voltage, read out with the ADC. So far I have been measuring in microseconds but it turned out that that is not precise enough.I found the following code to measure time on Stacko...