[Twisted-Python] Com Port
Hello i have some problem with pyserial. In one forum peoples said the with twisted serial i can solve this problem. Can you help me to configure the port as show below: data baud = 38400 parity= odd byte delay= 40000 rec timeout = 200 stop bit= 2 serial control line: dtr = high rts= low toggle this line for a reset: rts. and also were i can find some sample of twisted and serial communication Thanks Luca
Il giorno mer, 01/03/2006 alle 10.01 +0100, lucaberto@libero.it ha scritto:
Hello i have some problem with pyserial. In one forum peoples said the with twisted serial i can solve this problem. Can you help me to configure the port as show below:
data baud = 38400 parity= odd byte delay= 40000 rec timeout = 200 stop bit= 2 serial control line: dtr = high rts= low
toggle this line for a reset:
rts.
and also were i can find some sample of twisted and serial communication
Luca, you can check out twisted from its subversion repository the go to the doc/core/examples directory and take a look at gpsfix.py and mouse.py. Just one little note serialport uses pyserial so I think that if do not want to use twisted just try to figure out how pyserial work. Ciao Stefano -- Stefano Canepa aka sc: sc@linux.it http://www.stefanocanepa.it Three great virtues of a programmer: laziness, impatience and hubris. Le tre grandi virtù di un programmatore: pigrizia, impazienza e arroganza. (Larry Wall)
participants (2)
-
lucaberto@libero.it
-
Stefano Canepa