Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/26/06 09:55
Read: times


 
#123087 - Switch to a high level language
Responding to: ???'s previous message
I suggest you switch to a HIGH level language e.g. Pascal. There are freeware Pascal cross-compilers on the web.
The GPS units I have used output their data once per second and end it with a carriage return and line feed. Once you have captured the string from the GPS you can extract the bits you require from it.
The Pascal code would look something like this:


Var
GpsData : String[24]; (* defines string for gps data storage *)

Procedure GetGpsData ; (* capture 1 line of gps data *)
begin
ReadLn(GpsData) ;
end; { Procedure GetGpsData }

Good luck
Tony

List of 17 messages in thread
TopicAuthorDate
Interfacing 8051 with GPS Rcvr            01/01/70 00:00      
   Most GPS out multiple NEMA sensenances            01/01/70 00:00      
      you can use a simple statemachine            01/01/70 00:00      
   Assembly or Bascom?            01/01/70 00:00      
   GPS            01/01/70 00:00      
      Why doubt?            01/01/70 00:00      
      GPS Interface Protocols            01/01/70 00:00      
   okj            01/01/70 00:00      
   Switch to a high level language            01/01/70 00:00      
      Jumping the gun?            01/01/70 00:00      
      Language wars...            01/01/70 00:00      
         Hmmm            01/01/70 00:00      
         English grammar            01/01/70 00:00      
            Calm down, it\'s only a programming language!            01/01/70 00:00      
               Must laugh, life is too short!            01/01/70 00:00      
                  Now there's an offer...            01/01/70 00:00      
   Extracting NEMA $GPRMC protocol with Qbasic            01/01/70 00:00      

Back to Subject List