Dependencies:   mbed

Revision:
0:c162b0b96146
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Mon Jan 25 05:56:58 2010 +0000
@@ -0,0 +1,15 @@
+#include "mbed.h"
+#include "GetTickCount/GetTickCount.h"
+
+int main() {
+    printf("GetTickCount() Demo App\r\n");
+    printf("Timer resolution is 10ms.\r\n");
+    printf("Sample will show the system timer every second.");
+    
+    GetTickCount_Start();
+    while(1) {
+        
+                printf("Ticks: %d\r\n", GetTickCount());
+                wait(1);
+    }
+}