a pacemaker

Dependencies:   mbed

clock.h

Committer:
kohlerba
Date:
2016-10-26
Revision:
1:446bd28a1f19
Parent:
0:9e97accb2a4c
Child:
2:ab8469051a2d

File content as of revision 1:446bd28a1f19:

#include "mbed.h"

//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);