Go to advanced search

by obrienmi8
Fri Dec 28, 2012 2:34 pm
Forum: Java
Topic: java.io.IOException: Invalid argument
Replies: 6
Views: 4441

Re: java.io.IOException: Invalid argument

Robert, Yes, I agree, frameworks will be essential. I plan on finalizing use of either PI4J by Robert Savage and Chris Waltzl http://pi4j.com/ Gordons' WiringPI https://projects.drogon.net/raspberry-pi/wiringpi/ or Framboos by Jeroen Kransen https://github.com/jkransen/framboos/tree/master/src/main/...
by obrienmi8
Fri Dec 28, 2012 5:45 am
Forum: Java
Topic: java.io.IOException: Invalid argument
Replies: 6
Views: 4441

Re: java.io.IOException: Invalid argument

Andy, Hi, In the blog by Hinkmond Wong about using low level file IO to control the GPIO pins. It seems that you have used an older version of his code - he recently corrected it to avoid the "Invalid argument" exception by first checking for the unexport file - you should add the following fragment...

Go to advanced search