[Twisted-Python] reading serial port asynchronously

Jean-Paul Calderone exarkun at divmod.com
Sun Oct 21 20:42:32 EDT 2007

On Sun, 21 Oct 2007 17:34:34 -0700, Tom Brown <brown at esteem.com> wrote:
>I have an application that reads characters off the serial port in a
>thread. The problem is, the entire application will hang sometimes. I
>believe it is a threading problem, but I can't pinpoint why the
>application hangs. So, I'd like to get away from threads and thought
>Twisted may help me.
>I was told Twisted has the ability to interface with serial ports. I
>don't know where to look for the information on how to do this. Any
>ideas on where to start looking or pointers on how to accomplish this?

Take a look at the mouseman example:


>Twisted-Python mailing list
>Twisted-Python at twistedmatrix.com

More information about the Twisted-Python mailing list