src/sensors/sensor_manager.py
def gpio_output(pinId, pinStatus):
        """ Outputs a logic value on a GPIO pin """
        #insertDebugLog(NOTICE, "GPIO output from: {}".format(pinId), CDH, int(time.time()))

        pinId = SensorEntropy.get_gpio_pin(pinId)
        led = Pin(pinId,'OUTPUT')
        if pinStatus == ON:
            led.on()
            return True
        elif pinStatus == OFF:
            led.off()
            return True
        else:
            raise Exception('Incorrect GPIO status')
            return False
 Outputs a logic value on a GPIO pin 
Outputs a logic value on a GPIO pin
Outputs a logic value on a GPIO pin
def gpio_output(pinId, pinStatus):
        pinId = SensorEntropy.get_gpio_pin(pinId)
        led = Pin(pinId,'OUTPUT')
        if pinStatus == ON:
            led.on()
            return True
        elif pinStatus == OFF:
            led.off()
            return True
        else:
            raise Exception('Incorrect GPIO status')
            return False
def gpio_output ( pinId , pinStatus ) : pinId = SensorEntropy . get_gpio_pin ( pinId ) led = Pin ( pinId , 'OUTPUT' ) if pinStatus == ON : led . on ( ) return True elif pinStatus == OFF : led . off ( ) return True else : raise Exception ( 'Incorrect GPIO status' ) return False
Outputs a logic value on a GPIO pin
Outputs a logic value on a GPIO pin
""" Outputs a logic value on a GPIO pin """ #insertDebugLog(NOTICE, "GPIO output from: {}".format(pinId), CDH, int(time.time()))
pinId
pinStatus