Swordfish

Swordfish Module: NMEA2.bas

For PIC's - also known as SF. Language: PICBasic

Swordfish Module: NMEA2.bas

Postby Graham » Wed Jul 28, 2010 3:39 pm

After running into several issues with the NMEA module by David Barker, I've started work on my own module. I'd love to expand on Davids original code, though I am unfamiliar with his approach (use of ring buffers etc).

It's no where near as fancy, but is effective. It's interrupt driven and will perform the appropriate validation for each NMEA sentence. edit: I've completed a publically stable release and made an article in the Swordfish User Module section.
User avatar
Graham
Moderator
Moderator
 
Posts: 618
Joined: Wed Apr 01, 2009 10:34 pm

Re: Swordfish Module: NMEA2.bas

Postby Graham » Wed Jul 28, 2010 9:11 pm

Made a quick change.. CRC calculation is done at the end of parsing. Should validation fail, then the parser resets (validation was done manually in the first version).

Because I made the change within 5 minutes of posting the code, I am keeping it at version 1.0 ;)
User avatar
Graham
Moderator
Moderator
 
Posts: 618
Joined: Wed Apr 01, 2009 10:34 pm

Re: Swordfish Module: NMEA2.bas

Postby Graham » Wed Jul 28, 2010 9:12 pm

Now its time to make full use of this module in the Big GPS Clock project..
User avatar
Graham
Moderator
Moderator
 
Posts: 618
Joined: Wed Apr 01, 2009 10:34 pm


Return to Swordfish

Site Login