Rudolf Kálmán Has Died
Just last week I needed to smooth out a display reading on an oven controller.  The RTD was being read way too fast so I'd get a lot of flicker between values due to ADC resolution.In the back of my head I remembered one word: Kalman.  This line of code fixed it right up:   static float display_temp = 0;
   display_temp += 0.04 * (adc_temp - display_temp);