|
Lamp-Da 0.1
A compact lantern project
|
Mock of the board time. More...
Namespaces | |
| namespace | simulator |
| Simulator dedicated namespace. | |
| namespace | simulator::time_mocks |
| Encapsulate the mock time signals. | |
| namespace | lampda |
| Program scope. | |
| namespace | lampda::platform |
| Handle the platform specific interactions. | |
Functions | |
| void | simulator::time_mocks::reset () |
| uint32_t | lampda::platform::time_ms (void) |
| Returns the number of milliseconds since the Arduino board began running the current program. This number will overflow (go back to zero), after approximately 50 days. | |
| uint64_t | lampda::platform::time_us (void) |
| Returns the number of microseconds since the Arduino board began running the current program. | |
| void | lampda::platform::delay_ms (uint32_t dwMs) |
| Pauses the program for the amount of time (in miliseconds) specified as parameter. (There are 1000 milliseconds in a second.) | |
| void | lampda::platform::delay_us (uint64_t dwUs) |
| Pauses the program for the amount of time (in microseconds) specified as parameter. | |
Variables | |
| static sf::Clock | simulator::s_clock |
| static bool | simulator::isClockReset = false |
Mock of the board time.