I am trying to get a led working with the Raspberry Pin 3 model B+ with Raspbian. I am using Java Pi4j
library this way:
GpioPinDigitalOutput digitalOutputPin = GpioFactory.getInstance().provisionDigitalOutputPin(RaspiPin.GPIO_07);
GpioFactory.getInstance().setState(true, digitalOutPutPin);
It is only working with the Raspipin.GPIO_07
not with others ( Raspipin.GPIO_11, GPIO_13, GPIO_15, GPIO_16, GPIO_18, GPIO_22, GPIO_29, GPIO_31
). All pins were already unprovisioned, no exceptions are thrown, but the led is not working with other pin other than the Raspipin.GPIO_07.
What does it mean Raspipin.GPIO_07 is 1-wire pin?.
Im not sure If I am following the right pinout schema. The RaspiPin.GPIO_07
in library is the one labeled as GPIO4 in the picture below am I right? So the RaspiPin.GPIO_11 should be the one labeled in the picture as the GPIO17.