TJHJ
03-31-2009, 10:52 PM
Hey all,
Here is a GPS object in C for use with the ICCV7.
There are two versions one that uses defines and one that does not for compatibility reasons.
I tried to over comment this so it can be used as a reference.
I have tested it with the parallax GPS unit. Although it should work with any GPS unit that outputs NEMA Strings.
For use with the Parallax GPS unit connect /raw to ground. It parses the standard strings and does not use the "Smart Mode". The reason is the smart mode adds a long delay while the on board Sx chip parses the string for the correct data. Using the constant string parsing system, the data update rate is much faster and return of data does not cause additional delay in the main program when requested.
Any suggestions or problems please let me know by PM.
EDIT : V2 is now been updated for compatablity and more standard C style functions. This version should not have peoblems with other objects. See Demo File for how it is called and works.
TJ
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I owe everyone here a bunch, So thanks again for answering my dumb questions.
Projects. RG500 ECU system. PropCopter. Prop CanSat. Prop Paste Gun.
Suzuki RG500 in a RGV 250 frame.
Bimota V-Due (Running on the fuel injection system)
Aprilia RS250
Post Edited (TJHJ) : 4/11/2009 6:34:06 PM GMT
Here is a GPS object in C for use with the ICCV7.
There are two versions one that uses defines and one that does not for compatibility reasons.
I tried to over comment this so it can be used as a reference.
I have tested it with the parallax GPS unit. Although it should work with any GPS unit that outputs NEMA Strings.
For use with the Parallax GPS unit connect /raw to ground. It parses the standard strings and does not use the "Smart Mode". The reason is the smart mode adds a long delay while the on board Sx chip parses the string for the correct data. Using the constant string parsing system, the data update rate is much faster and return of data does not cause additional delay in the main program when requested.
Any suggestions or problems please let me know by PM.
EDIT : V2 is now been updated for compatablity and more standard C style functions. This version should not have peoblems with other objects. See Demo File for how it is called and works.
TJ
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I owe everyone here a bunch, So thanks again for answering my dumb questions.
Projects. RG500 ECU system. PropCopter. Prop CanSat. Prop Paste Gun.
Suzuki RG500 in a RGV 250 frame.
Bimota V-Due (Running on the fuel injection system)
Aprilia RS250
Post Edited (TJHJ) : 4/11/2009 6:34:06 PM GMT