Tutorial on programming devices?
andrew-pythonlist at puzzling.org
Wed Mar 19 14:42:23 CET 2003
On Wed, Mar 19, 2003 at 08:32:09AM +0000, Enno Middelberg wrote:
> I want to write some code to read data from my GPS receiver. The
> signals will arrive via a serial link which I want to process and
> I do not have a clue on how to read/write from/to devices using
> Python. So far, I have only written scripts to process data stored in
> files. Does anybody know a good starting point for reading or a
Twisted <http://twistedmatrix.com/> has some code in twisted.protocols.gps
for working with GPS devices via a serial port, using the pyserial module.
There's a simple demo of the code in doc/examples/gpsfix.py in the Twisted
More information about the Python-list