How to switch data pins on/off on parallel port?

Posted by Matt on Stack Overflow See other posts from Stack Overflow or by Matt
Published on 2011-01-01T19:33:22Z Indexed on 2011/01/01 20:54 UTC
Read the original article Hit count: 227

Filed under:
|
|

I want to simply switch certain data pins on and off, so that they can control a set of relays. I'm not asking about the hardware bit (should be easy), but I don't know where to begin writing the software. I don't want a high level library that can send bytes to a device - I literally want to switch on/off certain pins.

I'm running Linux and I want to do this in Java, so would I just need a library? It would be nice if the library has good documentation and is easy to use, but if not then a short example code will help me get started.

© Stack Overflow or respective owner

Related posts about java

Related posts about io