Hello All,
I'm working on Raspberry Pi with Java ME 8.1 and I want to use GPIO pin 17
try {
pin = (GPIOPin) DeviceManager.open(17);
} catch (IOException ex) {
Logger.getLogger(PiGPIOled.class.getName()).log(Level.SEVERE, null, ex);
return false;
}
I have give all API permissions, But When I run midlet I see error:
[ERROR] [DAAPI] iso=-1:There is unexpected error, when open GPIO pin 17
Currently I have not connected anything to GPIO 17 pin, is this is the problem?
Some of the links suggested to run usertest.sh, when i tried that I see java running and few people mentioned it worked for them wonder how ?
Thanks,
Ashok