I would not use a large sample pool. that was just a reasoning for not doing it. I did not realize that a 'last 1/2 second' solution was in the works. (too large a data set imo, and it seems to me that you would loose data intregrity for the mpg reading.)
I was merely showing an algorithm for screening out single anomylous readings. (Tossing out the signal would be bad, causing dropped counts for total miles.)
Using the min vss pulse for a time frame seems like it would show a little high for the speed if you have a glitch.
__________________
|