src/sensors/sensor_manager.py
def gpio_input(pinId, inputTime):
        """ Receive a logic value from a GPIO pin """
        """
        TODO: Don't change pin to input, but read file instead
        """
        #insertDebugLog(NOTICE, "GPIO input from: {}".format(pinId), CDH, int(time.time()))

        pinId = SensorEntropy.get_gpio_pin(pinId)
        pin = Pin(pinId,'INPUT')
        return pin.digitalRead() != 0
 Receive a logic value from a GPIO pin 
Receive a logic value from a GPIO pin
Receive a logic value from a GPIO pin
def gpio_input(pinId, inputTime):
        pinId = SensorEntropy.get_gpio_pin(pinId)
        pin = Pin(pinId,'INPUT')
        return pin.digitalRead() != 0
def gpio_input ( pinId , inputTime ) : """
        TODO: Don't change pin to input, but read file instead
        """ pinId = SensorEntropy . get_gpio_pin ( pinId ) pin = Pin ( pinId , 'INPUT' ) return pin . digitalRead ( ) != 0
Receive a logic value from a GPIO pin
Receive a logic value from a GPIO pin
""" Receive a logic value from a GPIO pin """ """
        TODO: Don't change pin to input, but read file instead
        """ #insertDebugLog(NOTICE, "GPIO input from: {}".format(pinId), CDH, int(time.time()))
pinId
inputTime