Re: Frustration debugging serial code

2010-05-07 Thread MRAB
William R. Wing (Bill Wing) wrote: On May 7, 2010, at 10:18 PM, MRAB wrote: William R. Wing (Bill Wing) wrote: See comments in-line. On May 7, 2010, at 3:23 PM, MRAB wrote: William R. Wing (Bill Wing) wrote: On May 7, 2010, at 2:08 PM, MRAB wrote: [byte -byte- byte] The X10 controller

Re: Frustration debugging serial code

2010-05-07 Thread William R. Wing (Bill Wing)
On May 7, 2010, at 10:18 PM, MRAB wrote: > William R. Wing (Bill Wing) wrote: >> See comments in-line. >> On May 7, 2010, at 3:23 PM, MRAB wrote: >>> William R. Wing (Bill Wing) wrote: On May 7, 2010, at 2:08 PM, MRAB wrote: [byte -byte- byte] > >> The X10 controller not only receives

Re: Frustration debugging serial code

2010-05-07 Thread MRAB
William R. Wing (Bill Wing) wrote: See comments in-line. On May 7, 2010, at 3:23 PM, MRAB wrote: William R. Wing (Bill Wing) wrote: On May 7, 2010, at 2:08 PM, MRAB wrote: William R. Wing (Bill Wing) wrote: Hello World - I'm new to both Python and this list, but here's hoping someone can sp

Re: Frustration debugging serial code

2010-05-07 Thread William R. Wing (Bill Wing)
On May 7, 2010, at 4:12 PM, J. Cliff Dyer wrote: > On Fri, 2010-05-07 at 15:36 -0400, William R. Wing wrote: > >> >> Maybe I should have been more explicit. The first line in the Python >> file is: >> >> >> #!/usr/bin/env Python (alternatively #!/usr/bin/Python - same results >> either way).

Re: Frustration debugging serial code

2010-05-07 Thread William R. Wing (Bill Wing)
See comments in-line. On May 7, 2010, at 3:23 PM, MRAB wrote: > William R. Wing (Bill Wing) wrote: >> On May 7, 2010, at 2:08 PM, MRAB wrote: >>> William R. Wing (Bill Wing) wrote: Hello World - I'm new to both Python and this list, but here's hoping someone can spot my problem. >

Re: Frustration debugging serial code

2010-05-07 Thread J. Cliff Dyer
On Fri, 2010-05-07 at 15:36 -0400, William R. Wing wrote: > > Maybe I should have been more explicit. The first line in the Python > file is: > > > #!/usr/bin/env Python (alternatively #!/usr/bin/Python - same results > either way). > python should be lowercased when referring to the name of

Re: Frustration debugging serial code

2010-05-07 Thread J. Cliff Dyer
On Fri, 2010-05-07 at 15:36 -0400, William R. Wing wrote: > > Maybe I should have been more explicit. The first line in the Python > file is: > > > #!/usr/bin/env Python (alternatively #!/usr/bin/Python - same results > either way). > python should be lowercased when referring to the name of

Re: Frustration debugging serial code

2010-05-07 Thread Grant Edwards
On 2010-05-07, Grant Edwards wrote: > William R. Wing (Bill Wing) wrote: >> Hello World - >> I'm new to both Python and this list, but here's hoping someone can spot >> my problem. >> >> System: Mac OS-X, 10.6.3 (Intel dual quad processor) >> Using Python 2.6.1, and pyserial-2.5_rc2-py2.6 >> >

Re: Frustration debugging serial code

2010-05-07 Thread Grant Edwards
William R. Wing (Bill Wing) wrote: > Hello World - > I'm new to both Python and this list, but here's hoping someone can spot > my problem. > > System: Mac OS-X, 10.6.3 (Intel dual quad processor) > Using Python 2.6.1, and pyserial-2.5_rc2-py2.6 > > The following snippet of code is designed to

Re: Frustration debugging serial code

2010-05-07 Thread William R. Wing
On May 7, 2010, at 2:08 PM, MRAB wrote: > William R. Wing (Bill Wing) wrote: >> Hello World - >> I'm new to both Python and this list, but here's hoping someone can spot my >> problem. >> System: Mac OS-X, 10.6.3 (Intel dual quad processor) >> Using Python 2.6.1, and pyserial-2.5_rc2-py2.6 >> Th

Re: Frustration debugging serial code

2010-05-07 Thread MRAB
William R. Wing (Bill Wing) wrote: On May 7, 2010, at 2:08 PM, MRAB wrote: William R. Wing (Bill Wing) wrote: Hello World - I'm new to both Python and this list, but here's hoping someone can spot my problem. System: Mac OS-X, 10.6.3 (Intel dual quad processor) Using Python 2.6.1, and pyse

Re: Frustration debugging serial code

2010-05-07 Thread MRAB
William R. Wing (Bill Wing) wrote: Hello World - I'm new to both Python and this list, but here's hoping someone can spot my problem. System: Mac OS-X, 10.6.3 (Intel dual quad processor) Using Python 2.6.1, and pyserial-2.5_rc2-py2.6 The following snippet of code is designed to open a port v

Frustration debugging serial code

2010-05-07 Thread William R. Wing (Bill Wing)
Hello World - I'm new to both Python and this list, but here's hoping someone can spot my problem. System: Mac OS-X, 10.6.3 (Intel dual quad processor) Using Python 2.6.1, and pyserial-2.5_rc2-py2.6 The following snippet of code is designed to open a port via a KeySpan USB-to-serial converter