Dear Members,
How can I implement this formula

into a code with timer ?
I get the speed (V0 and V ) from the sensor every second.
Any ideas ?
Thanks
Dear Members,
How can I implement this formula

into a code with timer ?
I get the speed (V0 and V ) from the sensor every second.
Any ideas ?
Thanks
Hi,
I assume that you're asking how to retrieve the elapsed time.
You can use the app timer library and the function app_timer_cnt_get() to get the elapsed time. The function will return the number of elapsed ticks, so you'll have to convert this to ms, see this thread
regards
Jared
Hi,
I assume that you're asking how to retrieve the elapsed time.
You can use the app timer library and the function app_timer_cnt_get() to get the elapsed time. The function will return the number of elapsed ticks, so you'll have to convert this to ms, see this thread
regards
Jared