First off, thank you to everyone at the element14 community for professionally answering my novice questions. Its really great that everyone is willing to be so helpful!
This time around, I need a little help on my current project. I am making a arduino clone of a basic bicycle computer. I've got the basics of it set up, and I can accurately output my current speed, and distance traveled. My next goal is to calculate my average speed. The idea of storing all of my speed readings, and trying to average them all as I go weems ludicris. I would quickly fill the arduino up with an array of speeds. I was hoping there is a better way. Has anyone ever needed to do something similar? What would be the best equation to use?
My inital thought was something along the lines of: new average = (previous average + new value) / 2
However, it doesnt seem to be as accurate as properly averaging the numbers.
