![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
02/07/15
Dependencies: mbed
Diff: Calculate.cpp
- Revision:
- 60:27404fc0dc71
- Parent:
- 59:2cbbd6fea55b
- Child:
- 61:e7f2a0e38360
--- a/Calculate.cpp Wed Jul 29 15:27:15 2015 +0000 +++ b/Calculate.cpp Thu Jul 30 14:08:27 2015 +0000 @@ -40,7 +40,7 @@ } //error checking incase next one is done } - t.start(); //starts the timer + t.start(); //starts the timer once, doesn't do anything next iteration timeDiff = t.read(); //reads what the timer is currently at t.reset(); //starts the timer again from 0. times[i] = timeDiff; //adds sensor times to array for logging.