> On Apr 7, 2015, at 8:42 AM, Hugo Caldas <hcalda...@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.
-- https://mail.python.org/mailman/listinfo/python-list