'Initialize the pin.'

def __init__(self, name, port, invert_logic):

    self._name = (name or DEVICE_DEFAULT_NAME)
    self._port = port
    self._invert_logic = invert_logic
    self._state = False
    rpi_gpio.setup_output(self._port)
    rpi_gpio.write_output(self._port, (1 if self._invert_logic else 0))
