def setCriticalTemp(self,temp):
    self.spidev.write(self.cs,[self.CMD_WRITE | self.R_CRIT]+\
                      self._encodeTemp(temp))
    self._continuous = False
setCriticalTemp(temp)
dataset/ETHPy150Open graycatlabs/PyBBIO/bbio/libraries/ADT7310/adt7310.py/ADT7310.setCriticalTemp