sysfs gpio pins

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

sysfs gpio pins

kenner

Anybody got any netrexx code that manipulates the pins in userspace?

 

Ken Klein

Mainframe specialist SDS

502-868-3644

 


_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: sysfs gpio pins

Tom Maynard

On 6/6/2013 1:31 PM, Kenneth Klein (TEMA TPC) wrote:

Anybody got any netrexx code that manipulates the pins in userspace?

There are two things fundamentally wrong with this query:

  1. NetRexx runs on the JVM and it is contrary to the philosophy of the Java Framework to reach down to the hardware level of any implementation, since that would invalidate the cross-platform capability of Java's "Write Once, Debug Everywhere" mission statement.
  2. It's a hardware question for hardware that has only very recently run NetRexx at all, and should more properly be posed on a different forum.

Might I suggest asking instead on the BeagleBone, or the Raspberry Pi forums? Note that this would still not address Problem #1. I think you'd need to write some C or Assembler (or JavaScript, or ...) to create the library, and then try using the API to invoke those functions. Even then you're only working around Problem #1, not "solving" it.

Note that I'm not being a Network Nazi here. I'm trying to avoid annoying the vast majority of others on this list whose interests lie elsewhere.


_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/