After I call the following Java code:
The GPIO turns off. How can I restart it?
I need to restart it because of this problem. In the problem the light does not turn off with
led.low() so I plan to turn it off by turning off the GPIO to turn off the light.
After I shutdown the GPIO when I call provisionDigitalOutputPin a second time to start the LED, it works.
Then I try to shutdown the GPIO again and it doesn't work.
How can I shutdown the GPIO multiple times in my program?
I am using a Raspberry Pi 3 Model B.