Si Ballenger wrote:

> I would think a time delay would be needed between the below two
> lines in the code if he expects to get a useable data string back
> from the gizmo for the command sent to it. 
> 
>   ser.write("TC 016 240 100 240 016 240\r\n")
>   reading = ser.read(40)

why's that?  if the gizmo is busy "doing its thing", read() will wait 
for up to one second before giving up.

</F>

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to