timer
Dependencies:
mbed
Fork of
Timer_HelloWorld
by
mbed official
main.cpp
- Committer:
- mbed_official
- Date:
- 2013-02-13
- Revision:
- 0:27e1de20d3cb
File content as of revision 0:27e1de20d3cb:
#include "mbed.h"
Timer t;
int main() {
t.start();
printf("Hello World!\n");
t.stop();
printf("The time taken was %f seconds\n", t.read());
}