That's great cheers, I've also found this code
http://www.control.com/1026217270/index_html
Now I just need to figure out how to read in line at a time.
It uses
char INBUFFER[500];
to store the data being read from the GPS, but the NMEA data consists of different length of data being streamed from the device.
So one might be
$GPSXX 3,4,5,4,34,2,34,4,3F
another might be
$GPSYY 45.3,363,343,6,3,2,564,N,235,36,E,6D
I'm guessing I need to tell it to stop storing data in INBUFFER if some end of line char is detected, that sound about right?