I'm reading four Distance Sensors and I would like the best and most efficient way to smooth the readings that are coming from the sensors. I am using Pulsin and my readings are between 0 and 255. But sometimes the readings fluctuate wildly and I need to make sure that can't happen.
Does anyone have a good algorthm?
Post Edited (SailerMan) : 12/18/2007 4:09:30 PM GMT