PySerial rereads its own data
peter at engcorp.com
Tue Jun 3 01:45:16 CEST 2003
Cliff Wells wrote:
> I'm trying to write an app that talks to a bit of hardware on the serial
> port. As a test setup, I've got a null modem cable linking /dev/ttyS0
> and /dev/ttyS1 on the same PC.
> 'hello' correctly appears on the console running 'cat /dev/ttyS1'.
> My question is this: why do I get back the data I just wrote? More to
> the point, how do I stop it?
Maybe check (or post?) the output of "stty" for /dev/ttyS0 on the
sending machine? Echoing?
More information about the Python-list