import com.pi4j.io.gpio.GpioController;
import com.pi4j.io.gpio.GpioPinDigitalOutput;
import com.pi4j.io.gpio.GpioFactory;
import com.pi4j.io.gpio.PinState;
import com.pi4j.io.gpio.RaspiPin;

public class led_off {
    
    public static void main(String[] args) {
	
	// create gpio controller
	GpioController gpio = GpioFactory.getInstance();
        
	// provision gpio pin #01 as an output pin and turn off
	GpioPinDigitalOutput outputPin = gpio.provisionDigitalOutputPin(RaspiPin.GPIO_01, "MyLED", PinState.LOW);
	
	// turn output to LOW/OFF state
	outputPin.low();
	
    }
}
