[英]program the LPT port using Java. Really?
Conditions: 条件:
OS is Windows XP
操作系统是
Windows XP
have LPT
port 有
LPT
端口
LED light bulb is connected to the LPT
port LED灯泡已连接到
LPT
端口
Necessary: 必要:
using Java to make the bulb flash Is it possible? 使用Java使灯泡闪烁是否可以? Interested in real, proven solutions.
对真实,可靠的解决方案感兴趣。
Has anyone done this? 有人这样做吗?
I have our few options: the use javax.comm
and RXTX
. 我有几种选择:使用
javax.comm
和RXTX
。 How successful is to use these solutions? 使用这些解决方案有多成功?
There used to be a nice Java parallel port library available at this URL: 此URL曾经有一个不错的Java并行端口库:
http://www.geocities.com/Juanga69/parport/ http://www.geocities.com/Juanga69/parport/
It seems to be gone now, however you can still access it through the Internet Archive's wayback machine: 现在似乎已经消失了,但是您仍然可以通过Internet Archive的回溯机器访问它:
http://web.archive.org/web/20080523134328/http://www.geocities.com/Juanga69/parport/ http://web.archive.org/web/20080523134328/http://www.geocities.com/Juanga69/parport/
The files can also be downloaded from here (Windows and Linux versions available, binaries and source code included): 也可以从此处下载文件(可用的Windows和Linux版本,包括二进制文件和源代码):
http://www.ioi.knaw.nl/~heimel/computers/parport/ http://www.ioi.knaw.nl/~heimel/computers/parport/
Note that for Windows XP you'll need to install a kernel-mode driver such as UserPort. 请注意,对于Windows XP,您需要安装内核模式驱动程序,例如UserPort。 This also can be downloaded from the sites above.
也可以从以上站点下载。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.