completed code

Dependencies:   mbed

millis.h

Committer:
evenbrownie
Date:
2018-11-22
Revision:
5:4af75af374cc
Parent:
0:f43994f44684

File content as of revision 5:4af75af374cc:

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