Quote:
Originally Posted by John_1102
No not yet that seems to be the popular suggestion to fix this problem.
how would I go about sampling?
I know I would need to pull the raw value.
Do I store an initial value and then just add to it then divide it by my time?
|
- Get new_value (of counts)
- delta_counts = new_value - previous_value
- speed = delta_counts / cycle_time* (scaled to whatever units you want to use for speed*)
- previous_value = new_value
*See posts 23, 24, & 26 of
this thread.