M
Mike
Is there a library in Python that will give me control over the
handshaking lines directly?
Thanks
handshaking lines directly?
Thanks
Is there a library in Python that will give me control over the
handshaking lines directly?
Thanks
Mike said:I am running Linux, Python 2.2.2. It would be nice (not mandatory)
to be cross platform though.
Mike said:I actually want to control my X10 firecracker device. I have done it in
Java (on Windows) already but now I want to do it in Python on Linux. You
control the device by wiggling the control lines with certain patterns.
Peter said:A quick search again with Google using TIOCMSET and TIOCM_CTS and a bunch
of others finally led to this, which might be the best yet, and includes
some constant definitions that might let you get something working, if
this doesn't directly solve your problem:
http://sparc.dnsalias.net/Python_stuff/PosixSerial.py
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.