![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Timer Örneği-2
Dependencies: mbed
Fork of Timer_HelloWorld by
Diff: main.cpp
- Revision:
- 0:27e1de20d3cb
- Child:
- 1:21cffa80ecdd
--- /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()); +}