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

Reads if IR messages control the state of the LED, False for no effect, True for incoming messages blink the LED
        """
        # noinspection PyBroadException
        try:
            i2cRecv = self.RawRead(COMMAND_GET_LED_IR, I2C_NORM_LEN)
        except KeyboardInterrupt:
            raise
        except Exception as e:
            self.Print('Failed reading LED state! {}'.format(str(e)))
            return

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

state = GetLedIr()

Reads if IR messages control the state of the LED, False for no effect, True for incoming messages blink the LED
        
state = GetLedIr()
Reads if IR messages control the state of the LED, False for no effect, True for incoming messages blink the LED
state = GetLedIr () Reads if IR messages control the state of the LED False for no effect True for incoming messages blink the LED
def GetLedIr(self):
        try:
            i2cRecv = self.RawRead(COMMAND_GET_LED_IR, I2C_NORM_LEN)
        except KeyboardInterrupt:
            raise
        except Exception as e:
            self.Print('Failed reading LED state! {}'.format(str(e)))
            return
        if i2cRecv[1] == COMMAND_VALUE_OFF:
            return False
        else:
            return True
def GetLedIr ( self ) : try : i2cRecv = self . RawRead ( COMMAND_GET_LED_IR , I2C_NORM_LEN ) except KeyboardInterrupt : raise except Exception as e : self . Print ( 'Failed reading LED state! {}' . format ( str ( e ) ) ) return if i2cRecv [ 1 ] == COMMAND_VALUE_OFF : return False else : return True
state = GetLedIr()
Reads if IR messages control the state of the LED, False for no effect, True for incoming messages blink the LED
state = GetLedIr () Reads if IR messages control the state of the LED False for no effect True for incoming messages blink the LED
"""
state = GetLedIr()

Reads if IR messages control the state of the LED, False for no effect, True for incoming messages blink the LED
        """ # noinspection PyBroadException
self