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

Sets the system to enable or disable the communications failsafe
The failsafe will turn the motors off unless it is commanded at least once every 1/4 of a second
Set to True to enable this failsafe, set to False to disable this failsafe
The failsafe is disabled at power on
        """
        if state:
            level = COMMAND_VALUE_ON
        else:
            level = COMMAND_VALUE_OFF

        # noinspection PyBroadException
        try:
            self.RawWrite(COMMAND_SET_FAILSAFE, [level])
        except KeyboardInterrupt:
            raise
        except Exception as e:
            self.Print('Failed sending communications failsafe state! {}'.format(str(e)))

SetCommsFailsafe(state)

Sets the system to enable or disable the communications failsafe
The failsafe will turn the motors off unless it is commanded at least once every 1/4 of a second
Set to True to enable this failsafe, set to False to disable this failsafe
The failsafe is disabled at power on
        
SetCommsFailsafe(state)
Sets the system to enable or disable the communications failsafe
The failsafe will turn the motors off unless it is commanded at least once every 1/4 of a second
Set to True to enable this failsafe, set to False to disable this failsafe
The failsafe is disabled at power on
SetCommsFailsafe ( state ) Sets the system to enable or disable the communications failsafe The failsafe will turn the motors off unless it is commanded at least once every 1 / 4 of a second Set to True to enable this failsafe set to False to disable this failsafe The failsafe is disabled at power on
def SetCommsFailsafe(self, state):
        if state:
            level = COMMAND_VALUE_ON
        else:
            level = COMMAND_VALUE_OFF
        try:
            self.RawWrite(COMMAND_SET_FAILSAFE, [level])
        except KeyboardInterrupt:
            raise
        except Exception as e:
            self.Print('Failed sending communications failsafe state! {}'.format(str(e)))
def SetCommsFailsafe ( self , state ) : if state : level = COMMAND_VALUE_ON else : level = COMMAND_VALUE_OFF try : self . RawWrite ( COMMAND_SET_FAILSAFE , [ level ] ) except KeyboardInterrupt : raise except Exception as e : self . Print ( 'Failed sending communications failsafe state! {}' . format ( str ( e ) ) )
SetCommsFailsafe(state)
Sets the system to enable or disable the communications failsafe
The failsafe will turn the motors off unless it is commanded at least once every 1/4 of a second
Set to True to enable this failsafe, set to False to disable this failsafe
The failsafe is disabled at power on
SetCommsFailsafe ( state ) Sets the system to enable or disable the communications failsafe The failsafe will turn the motors off unless it is commanded at least once every 1 / 4 of a second Set to True to enable this failsafe set to False to disable this failsafe The failsafe is disabled at power on
"""
SetCommsFailsafe(state)

Sets the system to enable or disable the communications failsafe
The failsafe will turn the motors off unless it is commanded at least once every 1/4 of a second
Set to True to enable this failsafe, set to False to disable this failsafe
The failsafe is disabled at power on
        """ # noinspection PyBroadException
self
state