![]() |
EDU Arduino API
|
KETCube Arduino Time API. More...
Data Fields | |
| Time_delay_t | delay |
| Pauses the program for the amount of time (in milliseconds) More... | |
| Time_delayMicroseconds_t | delayMicroseconds |
| Pauses the program for the amount of time (in microseconds) More... | |
| Time_micros_t | micros |
| Get the number of microseconds since last KETCube PoR or overflow. More... | |
| Time_millis_t | millis |
| Get the number of milliseconds since last KETCube PoR. More... | |
| Time_wakeAfter_t | wakeAfter |
| Wake KETCube after defined amount of time. More... | |
| Time_wakeIntervalElapsed_t | wakeIntervalElapsed |
| Check if the wake-up was caused by timer preset by wakeAfter() function. More... | |
KETCube Arduino Time API.
| Time_delay_t ketCube_Arduino_API_t::Time::delay |
Pauses the program for the amount of time (in milliseconds)
| ms | the number of milliseconds to pause |
| Time_delayMicroseconds_t ketCube_Arduino_API_t::Time::delayMicroseconds |
Pauses the program for the amount of time (in microseconds)
| us | the number of microseconds to pause |
| Time_micros_t ketCube_Arduino_API_t::Time::micros |
Get the number of microseconds since last KETCube PoR or overflow.
| ms | the number of microseconds since last KETCube PoR or overflow |
| Time_millis_t ketCube_Arduino_API_t::Time::millis |
Get the number of milliseconds since last KETCube PoR.
| ms | the number of milliseconds since last KETCube PoR |
| Time_wakeAfter_t ketCube_Arduino_API_t::Time::wakeAfter |
Wake KETCube after defined amount of time.
| ms | the number of milliseconds from now to wake-up |
| Time_wakeIntervalElapsed_t ketCube_Arduino_API_t::Time::wakeIntervalElapsed |
Check if the wake-up was caused by timer preset by wakeAfter() function.
| flag | TRUE in case, that wake-up interval elapsed, else return FALSE |