proyectotecnicas
/
frdm_timer
Diff: main.cpp
- Revision:
- 0:c56b9f122955
- Child:
- 1:9f81ea7031d7
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Mon Nov 30 18:28:15 2015 +0000 @@ -0,0 +1,11 @@ +#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()); +}