Timer.start()

18 Nov 2009

Timer.start() doesn't reset the timer, does it ? It might be helpful to mention that in the docs.

 

R.

08 Jul 2015

You have to use these steps:

Timer t;

t.start();

the routine that you want know the time of process

t.stop();

pc.printf(" %d us\n\r", t.read_us());

t.reset(); This reset the timer