Reading from serial port and dumping to console
Thomas Lim
englim at pc.jaring.my
Fri Aug 20 09:44:35 EDT 1999
Laurent POINTAL wrote:
> On Fri, 20 Aug 1999 09:33:44 +0000, Thomas Lim <englim at pc.jaring.my>
> wrote:
>
> >: t = open('/dev/tty0', 'w')
>
> Try with t = sys.stdout
>
> A+
>
> Laurent.
>
> ---
> Laurent POINTAL - CNRS/LURE - Service Informatique Experiences
> Tel/fax: 01 64 46 82 80 / 01 64 46 41 48
> email : pointal at lure.u-psud.fr ou lpointal at planete.net
To be more specific, what I was trying to do was to stuff what I read
from the serial port to the keyboard buffer. Anyway that this can be
done in Python?
Regards,
Thomas.
More information about the Python-list
mailing list