docs: def set(pin, value):
      '''set the pin value to 0 or 1'''
      if value is LOW:
          value = 0
      value = int(bool(value))
      log.debug("Write {0}: {1}".format(pin, value))
      f = _open[pin].value
      _write(f, value)