Temperature readout with moving average filter

Got the temperature readout working. Also added a moving average filter.
I worked at home so we will have to double check the clocks with the
oscilloscope.