Evan Brown
/
APpart3_E_start_2
completed code
Diff: millis.h
- Revision:
- 0:f43994f44684
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/millis.h Thu Nov 08 20:48:47 2018 +0000 @@ -0,0 +1,22 @@ +/* + * @author: Natasha Sarkar, 2018 + */ + +#ifndef __MILLIS_H +#define __MILLIS_H + +/** + * Starts the clock. Call this function + * at the beginning of main. + */ +void millis_begin(void); + +/** + * Returns the number of milliseconds + * that have passed since the call + * to millis_begin. + */ +unsigned long millis(void); + +#endif +