Forgot some info, i hooked the device up and used a serial terminal and got back stuff like this !^V$G(R)±LL,3602.0960,N,10229.2959,W,r$4013,V*2E some of the above is what i am looking for.
settings are the same as in my python script thanks for any help, shawn On Mon, Nov 3, 2008 at 3:49 PM, Jerry Hill <[EMAIL PROTECTED]> wrote: > On Mon, Nov 3, 2008 at 4:08 PM, shawn bright <[EMAIL PROTECTED]> wrote: >> yes, they look like this >> ���������������������� >> >> so i used your print repr(chr(ord(i))) and got this > > Note that that's the same thing as just printing repr(i). > >> so, what do i do now? >> and thanks for the info, by the way, been writing python for 2 years, >> but this is all new to me. > > Maybe we should back up a little bit. You said in your original post > that you were expecting ASCII characters from the serial device. How > do you know that's what you should be getting back? Have you tried > communicating with the device using some other program? If so, what > program? Do you have specs that tell you that's how it's supposed to > work? > > Are you sure you're connecting to the device with the right parameters > for baudrate, byte size, parity, etc? > > I notice that nowhere in this thread have you posted the code you use > to actually communicate with the serial device. Maybe you should do > that. > > -- > Jerry > _______________________________________________ > Tutor maillist - [email protected] > http://mail.python.org/mailman/listinfo/tutor > _______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
