private GpioPinPwmOutput[] provisionPwmOutputs(final PCA9685GpioProvider gpioProvider) { GpioController gpio = GpioFactory.getInstance(); GpioPinPwmOutput myOutputs[] = { gpio.provisionPwmOutputPin(gpioProvider, PCA9685Pin.PWM_00, "Servo 00"), gpio.provisionPwmOutputPin(gpioProvider, PCA9685Pin.PWM_01, "not used"), gpio.provisionPwmOutputPin(gpioProvider, PCA9685Pin.PWM_02, "not used"), gpio.provisionPwmOutputPin(gpioProvider, PCA9685Pin.PWM_03, "not used"), gpio.provisionPwmOutputPin(gpioProvider, PCA9685Pin.PWM_04, "not used"), gpio.provisionPwmOutputPin(gpioProvider, PCA9685Pin.PWM_05, "not used"), gpio.provisionPwmOutputPin(gpioProvider, PCA9685Pin.PWM_06, "not used"), gpio.provisionPwmOutputPin(gpioProvider, PCA9685Pin.PWM_07, "not used"), gpio.provisionPwmOutputPin(gpioProvider, PCA9685Pin.PWM_08, "not used"), gpio.provisionPwmOutputPin(gpioProvider, PCA9685Pin.PWM_09, "not used"), gpio.provisionPwmOutputPin(gpioProvider, PCA9685Pin.PWM_10, "not used"), gpio.provisionPwmOutputPin(gpioProvider, PCA9685Pin.PWM_11, "not used"), gpio.provisionPwmOutputPin(gpioProvider, PCA9685Pin.PWM_12, "not used"), gpio.provisionPwmOutputPin(gpioProvider, PCA9685Pin.PWM_13, "not used"), gpio.provisionPwmOutputPin(gpioProvider, PCA9685Pin.PWM_14, "not used"), gpio.provisionPwmOutputPin(gpioProvider, PCA9685Pin.PWM_15, "not used") }; return myOutputs; }
@Override public GpioPinPwmOutput provisionPwmOutputPin(Pin pin, int defaultValue) { return delegate.provisionPwmOutputPin(pin, defaultValue); }
@Override public GpioPinPwmOutput provisionPwmOutputPin( GpioProvider provider, Pin pin, String name, int defaultValue) { return delegate.provisionPwmOutputPin(provider, pin, name, defaultValue); }
@Override public GpioPinPwmOutput provisionPwmOutputPin(Pin pin) { return delegate.provisionPwmOutputPin(pin); }
@Override public GpioPinPwmOutput provisionPwmOutputPin(Pin pin, String name) { return delegate.provisionPwmOutputPin(pin, name); }
@Override public GpioPinPwmOutput provisionPwmOutputPin(GpioProvider provider, Pin pin) { return delegate.provisionPwmOutputPin(provider, pin); }