SERIN to get Garmin GPS Text input
Jim_in_Oxnard
Posts: 2
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, [noparse][[/noparse]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,
Jim
I do a SERIN 13, 9600, [noparse][[/noparse]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,
Jim
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Exactly what I needed.
I had been using another example of yours, where you used the BS2e, with scratch pad memory.
Jim