travisgriggs at gmail.com
Thu Apr 9 18:14:59 CEST 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...
More information about the Python-list