Hello everone, Be gentle I am new to pics, I have a meter to measure the fuel level of a tank 0=empty 255=full. I want to use software to provide a buffer so that the slosh of the fuel is not seen on the fuel gauge. I want to use a damping vaiable 0-255 to determine the buffer. I am not sure how to create this software buffer. I am sure someone has some sample code that can help me find a way. I would really appreciate any help. Jon