iforce2d Chris
/
ubxDistanceMeter
Displays distance to start location on OLED screen.
Diff: Clock.h
- Revision:
- 0:972874f31c98
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Clock.h Wed Mar 07 12:49:14 2018 +0000 @@ -0,0 +1,12 @@ +#pragma once + +#include <stdint.h> + +// Return the number of seconds since boot. +float clock_s(); + +// Return the number of milliseconds since boot. +uint64_t clock_ms(); + +// Return the number of microseconds since boot. +uint64_t clock_us(); \ No newline at end of file