Professional Documents
Culture Documents
Blink Led
Blink Led
UnavailablePeripheralException;
import jdk.dio.DeviceManager;
import jdk.dio.gpio.GPIOPin;
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.microedition.midlet.MIDlet;
GPIOPin pin;
try {
pin.close();
} catch (IOException ex) {
Logger.getLogger(GPIOExample1.class.getName()).
log(Level.SEVERE, null, ex);
}
}
}