a pacemaker

Dependencies:   mbed

Revision:
1:446bd28a1f19
Parent:
0:9e97accb2a4c
Child:
2:ab8469051a2d
--- a/clock.h	Wed Oct 26 02:06:02 2016 +0000
+++ b/clock.h	Wed Oct 26 13:42:57 2016 +0000
@@ -1,5 +1,13 @@
 #include "mbed.h"
 
-void start_clock(void);
+//Starts the clock
+int start_clock(void);
+
+//A counter that updates to the current time
 void count_time(void);
+
+//Returns the clock time
 double get_time(void);
+
+//wait a given amount of time
+int wait_time(double wait_time);