PDA

View Full Version : SERIN to get Garmin GPS Text input



Jim_in_Oxnard
08-09-2005, 01:19 PM
I need to read the Garmin Text output (approximately 54 characters with a leading @) and output a NMEA GPGAA like sentence.

I do a SERIN 13, 9600, [Wait ("@"), Garmen_text] follower by a DEBUG ASC ? Garmin_text and I get the 1st character after the @.

I have declared Garmin_text as Var size byte(5) (for test purposes).

I expect to get the first 5 characters after the @, but it doesn't seem to work.

What is this newbie doing wrong?

Thanks,http://forums.parallax.com/images/smilies/turn.gif

Jim

Jon Williams
08-09-2005, 07:31 PM
I've used the Garmin text output in a couple projects -- it's quite easy. Have a look at the attached program; it should help.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax

Jim_in_Oxnard
08-09-2005, 10:35 PM
Thanks Jon http://forums.parallax.com/images/smilies/turn.gif,

Exactly what I needed.

I had been using another example of yours, where you used the BS2e, with scratch pad memory.

Jim