[SerialConnection] Help

Travis Griggs travisgriggs at gmail.com
Thu Apr 9 12:14:59 EDT 2015


> On Apr 7, 2015, at 8:42 AM, Hugo Caldas <hcaldas92 at gmail.com> wrote:
> 
>  read and write the port values with multi threading 

Care to elaborate what you mean by this part? In general, serial ports and multi threading don’t mix well. IOW, you’ll need to use multithreading pieces to make sure you serialize your access to your serial port.

As other have pointed out, pyserial is the package you want. Documentation is pretty good. We use it a lot. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20150409/66c43fe4/attachment.html>


More information about the Python-list mailing list