iforce2d Chris
/
nRF24L01SimpleExample
Basic port of the gcopeland nRF24L01 library
Diff: Clock.h
- Revision:
- 2:75a5b58b2338
diff -r 5be2682710c6 -r 75a5b58b2338 Clock.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Clock.h Mon Mar 25 07:35:02 2019 +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