Serial port failure

drake at ultech.com drake at ultech.com
Fri Dec 15 14:27:05 EST 2006


drake at ultech.com wrote:
......snip>
> In the second iteration of your loop, you appear to be opening a port
> that is already open:
>
>  	for i in range(3):
>  	    port = OpenPort()
>
> thus the error message: "the serial port is unavailable".
>
> --Drake Smith

Skip that -- I didn't notice that your port.close() was indented.




More information about the Python-list mailing list