Re: [python-win32] COM ports connecting
by Roel Schroeven other posts by this author
Feb 22 2006 5:03AM messages near this date
Re: [python-win32] COM ports connecting
|
Re: [python-win32] COM ports connecting
Math schreef:
> Thank you all for your respond.
> However, I run into another problem I forgot to mention.
> My Laptop doesn't have a 9-pin Serial port, only USB-connectors, so I guess
> I have to buy a USB-Serial Converter to.....
> Does everythong else then remain the same?
Yes. The driver of the USB <-> Serial convertor will add a (virtual
port), probably COM5 or COM6. You just use that instead of COM1 or whatever.
> Do I then still have to use the 'import serial' or is there something for
> USB to?
You can just use import serial as with a real serial port. The module
doesn't see any difference between a real port or a virtual one: the
driver makes sure it looks just the same.
--
If I have been able to see further, it was only because I stood
on the shoulders of giants. -- Isaac Newton
Roel Schroeven
_______________________________________________
Python-win32 mailing list
Python-win32@[...].org
http://mail.python.org/mailman/listinfo/python-win32
Thread:
Math
John Machin
Math
Roel Schroeven
Ray Schumacher
|