MAX31855 averaging readings?

by RosscoS on Fri Nov 16, 2012 3:18 pm

Hi All,
I have just upgraded from the MAX6675 to the MAX31855.
With the MAX6675 to get an average of several readings the code was
Code: Select all | TOGGLE FULL SIZE
temp_out = temp0.read_temp(20);


However I cannot figure out how to get averaged readings from the MAX31855.

Thanks in advance for any help!
RosscoS
 
Posts: 44
Joined: Wed May 09, 2012 1:41 pm

Re: MAX31855 averaging readings?

by adafruit on Fri Nov 16, 2012 8:42 pm

use a loop to read 5 times in a row, add up all the numbers, then divide by 5
User avatar
adafruit
 
Posts: 11666
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc