a pacemaker

Dependencies:   mbed

Committer:
kohlerba
Date:
Wed Oct 26 13:42:57 2016 +0000
Revision:
1:446bd28a1f19
Parent:
0:9e97accb2a4c
Child:
2:ab8469051a2d
blah;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
kohlerba 0:9e97accb2a4c 1 #include "mbed.h"
kohlerba 0:9e97accb2a4c 2
kohlerba 1:446bd28a1f19 3 //Starts the clock
kohlerba 1:446bd28a1f19 4 int start_clock(void);
kohlerba 1:446bd28a1f19 5
kohlerba 1:446bd28a1f19 6 //A counter that updates to the current time
kohlerba 0:9e97accb2a4c 7 void count_time(void);
kohlerba 1:446bd28a1f19 8
kohlerba 1:446bd28a1f19 9 //Returns the clock time
kohlerba 0:9e97accb2a4c 10 double get_time(void);
kohlerba 1:446bd28a1f19 11
kohlerba 1:446bd28a1f19 12 //wait a given amount of time
kohlerba 1:446bd28a1f19 13 int wait_time(double wait_time);