@WBhan, my if statements are completely wrong, I just wrote that off the top of my head, sorry about that!
@AKthank you so much for providing the options of polling and interrupts, those seem ideal.
Sorry if I'm asking for too much, but would you be able to give me a quick explanation of how you determined the 100ns quantization error? From what I understand, quantification error is usually used when dealing with ADCs.
I understand the other part about having to sample the units 20Million/sec to get the output edge within 10% of the input edge (0.10*20Million/sec = 2Mill/sec)
@AKthank you so much for providing the options of polling and interrupts, those seem ideal.
Sorry if I'm asking for too much, but would you be able to give me a quick explanation of how you determined the 100ns quantization error? From what I understand, quantification error is usually used when dealing with ADCs.
I understand the other part about having to sample the units 20Million/sec to get the output edge within 10% of the input edge (0.10*20Million/sec = 2Mill/sec)