platypush/plugins/gpio/zeroborg/lib/__init__.py
def GetCommsFailsafe(self):
        """
state = GetCommsFailsafe()

Read the current system state of the communications failsafe, True for enabled, False for disabled
The failsafe will turn the motors off unless it is commanded at least once every 1/4 of a second
        """
        # noinspection PyBroadException
        try:
            i2cRecv = self.RawRead(COMMAND_GET_FAILSAFE, I2C_NORM_LEN)
        except KeyboardInterrupt:
            raise
        except Exception as e:
            self.Print('Failed reading communications failsafe state! {}'.format(str(e)))
            return

        if i2cRecv[1] == COMMAND_VALUE_OFF:
            return False
        else:
            return True

state = GetCommsFailsafe()

Read the current system state of the communications failsafe, True for enabled, False for disabled
The failsafe will turn the motors off unless it is commanded at least once every 1/4 of a second
        
state = GetCommsFailsafe()
Read the current system state of the communications failsafe, True for enabled, False for disabled
The failsafe will turn the motors off unless it is commanded at least once every 1/4 of a second
state = GetCommsFailsafe () Read the current system state of the communications failsafe True for enabled False for disabled The failsafe will turn the motors off unless it is commanded at least once every 1 / 4 of a second
def GetCommsFailsafe(self):
        try:
            i2cRecv = self.RawRead(COMMAND_GET_FAILSAFE, I2C_NORM_LEN)
        except KeyboardInterrupt:
            raise
        except Exception as e:
            self.Print('Failed reading communications failsafe state! {}'.format(str(e)))
            return
        if i2cRecv[1] == COMMAND_VALUE_OFF:
            return False
        else:
            return True
def GetCommsFailsafe ( self ) : try : i2cRecv = self . RawRead ( COMMAND_GET_FAILSAFE , I2C_NORM_LEN ) except KeyboardInterrupt : raise except Exception as e : self . Print ( 'Failed reading communications failsafe state! {}' . format ( str ( e ) ) ) return if i2cRecv [ 1 ] == COMMAND_VALUE_OFF : return False else : return True
state = GetCommsFailsafe()
Read the current system state of the communications failsafe, True for enabled, False for disabled
The failsafe will turn the motors off unless it is commanded at least once every 1/4 of a second
state = GetCommsFailsafe () Read the current system state of the communications failsafe True for enabled False for disabled The failsafe will turn the motors off unless it is commanded at least once every 1 / 4 of a second
"""
state = GetCommsFailsafe()

Read the current system state of the communications failsafe, True for enabled, False for disabled
The failsafe will turn the motors off unless it is commanded at least once every 1/4 of a second
        """ # noinspection PyBroadException
self