src/software/picoreflow/lib/max6675.py
def data_to_tc_temperature(self, data_16 = None):
        '''Takes an integer and returns a thermocouple temperature in celsius.'''
        if data_16 is None:
            data_16 = self.data
        # Remove bits D0-3
        tc_data = ((data_16 >> 3) & 0xFFF)
        # 12-bit resolution
        return (tc_data * 0.25)
Takes an integer and returns a thermocouple temperature in celsius.
Takes an integer and returns a thermocouple temperature in celsius.
Takes an integer and returns a thermocouple temperature in celsius .
def data_to_tc_temperature(self, data_16 = None):
        if data_16 is None:
            data_16 = self.data
        tc_data = ((data_16 >> 3) & 0xFFF)
        return (tc_data * 0.25)
def data_to_tc_temperature ( self , data_16 = None ) : if data_16 is None : data_16 = self . data tc_data = ( ( data_16 >> 3 ) & 0xFFF ) return ( tc_data * 0.25 )
Takes an integer and returns a thermocouple temperature in celsius.
Takes an integer and returns a thermocouple temperature in celsius .
'''Takes an integer and returns a thermocouple temperature in celsius.''' # Remove bits D0-3 # 12-bit resolution
self
data_16