Help with taking five values from a temperature sensor and taking the average

@apture

What are You trying to tell? I give Op an raw idea to work from.
I have only been working with things like this for 50 years, but You might have more knowledge and experience.....