- do all of these programs behave the same way (ie, commands apparently received by device, no response returned)?
- If (1) is 'yes', let's stick with the last example. What happens at the call to 'lookfor'? Does it hang, or does it return something unexpected?
Update: are you sure
chr(254) is doing what you expect? You are probably better off using
pack...