Timer Örneği-2

Dependencies:   mbed

Fork of Timer_HelloWorld by mbed official

Revision:
1:21cffa80ecdd
Parent:
0:27e1de20d3cb
--- a/main.cpp	Wed Feb 13 17:28:57 2013 +0000
+++ b/main.cpp	Fri May 11 05:13:50 2018 +0000
@@ -3,8 +3,8 @@
 Timer t;
  
 int main() {
-    t.start();
-    printf("Hello World!\n");
-    t.stop();
-    printf("The time taken was %f seconds\n", t.read());
+    while(1){
+    t.start();   
+    printf("Timer degeri: %f saniye\n", t.read());
+    }
 }