Parallax PMB-648 GPS module and Arduino Mega

#include <SoftwareSerial.h>
#include "./TinyGPS.h" // Special version for 1.0

TinyGPS gps;
SoftwareSerial nss(19, 255); // Yellow wire to pin 19

void setup() {
 Serial.begin(115200);
 nss.begin(4800);
 Serial.println("Reading GPS");
}

void loop() {
 bool newdata = false;
 unsigned long start = millis();
 while (millis() - start < 5000) { // Update every 5 seconds
 if (feedgps())
 newdata = true;
 }
 if (newdata) {
 gpsdump(gps);
 }
}

// Get and process GPS data
void gpsdump(TinyGPS &gps) {
 float flat, flon;
 unsigned long age;
 gps.f_get_position(&flat, &flon, &age);
 Serial.print(flat, 4); Serial.print(", "); 
 Serial.println(flon, 4);
}

// Feed data as it becomes available 
bool feedgps() {
 while (nss.available()) {
 if (gps.encode(nss.read()))
 return true;
 }
 return false;
}[/font][/color][/pre]