iforce2d Chris
/
ubxDistanceMeter
Displays distance to start location on OLED screen.
Clock.h@0:972874f31c98, 2018-03-07 (annotated)
- Committer:
- iforce2d
- Date:
- Wed Mar 07 12:49:14 2018 +0000
- Revision:
- 0:972874f31c98
First commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
iforce2d | 0:972874f31c98 | 1 | #pragma once |
iforce2d | 0:972874f31c98 | 2 | |
iforce2d | 0:972874f31c98 | 3 | #include <stdint.h> |
iforce2d | 0:972874f31c98 | 4 | |
iforce2d | 0:972874f31c98 | 5 | // Return the number of seconds since boot. |
iforce2d | 0:972874f31c98 | 6 | float clock_s(); |
iforce2d | 0:972874f31c98 | 7 | |
iforce2d | 0:972874f31c98 | 8 | // Return the number of milliseconds since boot. |
iforce2d | 0:972874f31c98 | 9 | uint64_t clock_ms(); |
iforce2d | 0:972874f31c98 | 10 | |
iforce2d | 0:972874f31c98 | 11 | // Return the number of microseconds since boot. |
iforce2d | 0:972874f31c98 | 12 | uint64_t clock_us(); |