Go Down

Topic: Code Correction (Read 681 times) previous topic - next topic

robtillaart


The accuracy of the code is 6/12 micro second which is 0.5 usec, so it measures in units of 0.5 micros. That is the accuracy of the algorithm.

If you have a pulse of 10.1 it will be approached to 9.5, 10.0, 10.5. [because there is no compensation yet for startup effects in the algorithm it can still  have a fixed error]

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Udo Klein

What I think now: now I know what you are measuring.

I also learn that you do not really understand how to do precision measurements. This is because you can not tell why you would need the precision.

Would you please tell why the measurements are not accurate enough for your purposes? What are you after?
Check out my experiments http://blog.blinkenlight.net

Go Up