pooja arawal
/
mbed_timer
hhh
Diff: poo.cpp
- Revision:
- 1:4346149b11d2
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/poo.cpp Thu Dec 01 06:13:26 2016 +0000 @@ -0,0 +1,10 @@ +#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()); +} \ No newline at end of file