使用Java对LPT端口进行编程.真的吗? [英] program the LPT port using Java. Really?
问题描述
条件:
OS是Windows XP
具有LPT
端口
LED灯泡已连接到LPT
端口
LED light bulb is connected to the LPT
port
必要:
使用Java使灯泡闪烁 是否有可能? 对真实,可靠的解决方案感兴趣.
using Java to make the bulb flash Is it possible? Interested in real, proven solutions.
有人这样做吗?
我有几种选择:使用javax.comm
和RXTX
.使用这些解决方案有多成功?
I have our few options: the use javax.comm
and RXTX
. How successful is to use these solutions?
推荐答案
在此URL上曾经有一个不错的Java并行端口库:
There used to be a nice Java parallel port library available at this URL:
http://www.geocities.com/Juanga69/parport/
它似乎已经消失了,但是您仍然可以通过Internet Archive的回溯机器来访问它:
It seems to be gone now, however you can still access it through the Internet Archive's wayback machine:
http://web.archive .org/web/20080523134328/http://www.geocities.com/Juanga69/parport/
还可以从此处下载文件(可用的Windows和Linux版本,包括二进制文件和源代码):
The files can also be downloaded from here (Windows and Linux versions available, binaries and source code included):
http://www.ioi.knaw.nl/~heimel/computers/parport/
请注意,对于Windows XP,您需要安装内核模式驱动程序,例如UserPort.也可以从上面的网站下载.
Note that for Windows XP you'll need to install a kernel-mode driver such as UserPort. This also can be downloaded from the sites above.
这篇关于使用Java对LPT端口进行编程.真的吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!