code: @Override
      public Producer createProducer() throws Exception {
          LOG.debug(this.toString());
  
          if (direction == null || (direction.compareTo("") == 0)) {
              direction = "DIR_OUTPUT_ONLY";
          }
          if (mode == null || (mode.compareTo("") == 0)) {
              mode = "MODE_OUTPUT_PUSH_PULL";
          }
          if (trigger == null || (trigger.compareTo("") == 0)) {
              trigger = "TRIGGER_NONE";
          }
  
          int internalDirection = internalValueWithOR(direction);
          int internalMode = internalValueWithOR(mode);
          int internalTrigger = internalValueWithOR(trigger);
  
          GPIOPinConfig pinConfig = new GPIOPinConfig(DeviceConfig.DEFAULT, Integer.parseInt(this.gpioId),
                  internalDirection, internalMode, internalTrigger, state);
          GPIOPin pin = DeviceManager.open(GPIOPin.class, pinConfig);
  
          return new GPIOProducer(this, pin);
      }
docs: Create producer map to an Output PIN