completed code

Dependencies:   mbed

millis.h

Committer:
evenbrownie
Date:
2018-11-08
Revision:
0:f43994f44684

File content as of revision 0:f43994f44684:

/*
 * @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