On 2006-12-15, hg <[EMAIL PROTECTED]> wrote: >> Here is OpenPort >> >> #################################################################### >> #### OpenPort procedure >> #################################################################### >> def OpenPort(name): >> BRate = 19200 >> Tout = 3 [...]
>>> > for i in range(3): >>> > port = OpenPort() > I don't get it: you never pass any parameter to OpenPort The code he posted isn't the code he's actually running. > The second thing I wonder about is whether you need to reinit > serial every time. I don't know what you mean by "reinit serial". -- Grant Edwards grante Yow! We are now enjoying at total mutual interaction in visi.com an imaginary hot tub... -- http://mail.python.org/mailman/listinfo/python-list