src/software/picoreflow/lib/hotpi.py
def checkErrors(self):
        '''Checks error bits to see if there are any faults.'''
        self.ensure_crc_is_valid()
        if (self.scratchpad.buffer[2] & 0x04 != 0):
            raise HotPiError("MAX31850 scratchpad - short to VDD")
        if (self.scratchpad.buffer[2] & 0x02 != 0):
            raise HotPiError("MAX31850 scratchpad - short to GND")
        if (self.scratchpad.buffer[2] & 0x01 != 0):
            raise HotPiError("MAX31850 scratchpad - open circuit")
        if (self.scratchpad.buffer[0] & 0x01 != 0):
            raise HotPiError("MAX31850 scratchpad - 'Fault' bit set")
Checks error bits to see if there are any faults.
Checks error bits to see if there are any faults.
Checks error bits to see if there are any faults .
def checkErrors(self):
        self.ensure_crc_is_valid()
        if (self.scratchpad.buffer[2] & 0x04 != 0):
            raise HotPiError("MAX31850 scratchpad - short to VDD")
        if (self.scratchpad.buffer[2] & 0x02 != 0):
            raise HotPiError("MAX31850 scratchpad - short to GND")
        if (self.scratchpad.buffer[2] & 0x01 != 0):
            raise HotPiError("MAX31850 scratchpad - open circuit")
        if (self.scratchpad.buffer[0] & 0x01 != 0):
            raise HotPiError("MAX31850 scratchpad - 'Fault' bit set")
def checkErrors ( self ) : self . ensure_crc_is_valid ( ) if ( self . scratchpad . buffer [ 2 ] & 0x04 != 0 ) : raise HotPiError ( "MAX31850 scratchpad - short to VDD" ) if ( self . scratchpad . buffer [ 2 ] & 0x02 != 0 ) : raise HotPiError ( "MAX31850 scratchpad - short to GND" ) if ( self . scratchpad . buffer [ 2 ] & 0x01 != 0 ) : raise HotPiError ( "MAX31850 scratchpad - open circuit" ) if ( self . scratchpad . buffer [ 0 ] & 0x01 != 0 ) : raise HotPiError ( "MAX31850 scratchpad - 'Fault' bit set" )
Checks error bits to see if there are any faults.
Checks error bits to see if there are any faults .
'''Checks error bits to see if there are any faults.'''
self