godai 田中
/
Timer_godai
servo
Fork of Timer_HelloWorld_godai by
Diff: main.cpp
- Revision:
- 0:27e1de20d3cb
- Child:
- 1:64fc7f117c1c
- Child:
- 3:9152128dba25
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Wed Feb 13 17:28:57 2013 +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()); +}