Reading GPIO using JAVA --- Please help...

Hello all.

I'm working on my graduation final project and I need some help with
the beagle.
I need to read the GPIO ports through JAVA. Is there any java API to
help me with that???
I'm running the UBUNTU 10.10 for OMAP3 processor.

Thanks in advance

Luis Gustavo

If you can access the filesystem from your VM check this out: http://www.avrfreaks.net/wiki/index.php/Documentation:Linux/GPIO

  • Juha

What you may need is called JNI. http://en.wikipedia.org/wiki/Java_Native_Interface
there is a tutorial http://java.sun.com/developer/onlineTraining/Programming/JDCBook/jniexamp.html
it isn't too bad to use and you could wrap all the special functions
of your board.