开发者

Interfacing Parallel Port in Python

开发者 https://www.devze.com 2023-02-27 01:35 出处:网络
I need a tutorial or perhaps more on using Python to print data from a开发者_如何学Python PARALLEL port. Any ideas?

I need a tutorial or perhaps more on using Python to print data from a开发者_如何学Python PARALLEL port. Any ideas?

Thanks.


The mentioned PyParallel package is now available on PyPI: https://pypi.python.org/pypi/pyparallel

I tested it successfully with GNU/Linux (Xubuntu 15.10) and Python 3.4.


Have a look at pyserial. http://pyserial.sourceforge.net/ and examples: http://pyserial.sourceforge.net/examples.html

I have some more examples, just need to find them.

Edit: Sorry, I meant pyParallel http://pyserial.sourceforge.net/pyparallel.html

Some examples:

http://orionrobots.co.uk/PyParallel http://pyserial.svn.sourceforge.net/viewvc/pyserial/trunk/pyparallel/examples/lcd.py?revision=398&view=markup

0

精彩评论

暂无评论...
验证码 换一张
取 消