src/software/picoreflow/lib/max31855.py
def convert_rj_data(self, rj_data):
        '''Convert reference junction data to a useful number (celsius).'''
        if rj_data & 0x800:
           without_resolution = ~rj_data & 0x7FF
           without_resolution += 1
           without_resolution *= -1
        else:
             without_resolution = rj_data & 0x7FF
        return without_resolution * 0.0625
Convert reference junction data to a useful number (celsius).
Convert reference junction data to a useful number (celsius).
Convert reference junction data to a useful number ( celsius ) .
def convert_rj_data(self, rj_data):
        if rj_data & 0x800:
           without_resolution = ~rj_data & 0x7FF
           without_resolution += 1
           without_resolution *= -1
        else:
             without_resolution = rj_data & 0x7FF
        return without_resolution * 0.0625
def convert_rj_data ( self , rj_data ) : if rj_data & 0x800 : without_resolution = ~ rj_data & 0x7FF without_resolution += 1 without_resolution *= - 1 else : without_resolution = rj_data & 0x7FF return without_resolution * 0.0625
Convert reference junction data to a useful number (celsius).
Convert reference junction data to a useful number ( celsius ) .
'''Convert reference junction data to a useful number (celsius).'''
self
rj_data