Hi , thanks for the help.
It does print out the correct average.
Requesting temperatures...DONE
Temperature for Device 1 is: 21.94
Temperature for Device 2 is: 22.37
Average temp is...22.12
Requesting temperatures...DONE
Temperature for Device 1 is: 21.94
Temperature for Device 2 is: 22.31
Average temp is...22.09
But sometimes , lets say once every 3 minutes it prints
Requesting temperatures...DONE
Temperature for Device 1 is: 21.94
Temperature for Device 2 is: 22.37
Average temp is...-52.53
Do you think that has to do with the delay?