I'm using the MODGPS library with a Copernicus II GPS module. I ran the code as instructed. For the NMEA ports of the GPS, the baud rate is listed as 4800 so that is what I set it to initially. When I do that, I get nothing at all, no output. When I change the baud rate to something like 9600, I obtain output but it's just all zeros for latitude, longitude, etc. I know the GPS works fine because when I connect it directly to my laptop using the Trimble GPS studio program, I get correct data. But through MBED, I'm able to get nothing, especially when I set it to the corresponding GPS baud rate of 4800.
Any help or suggestions would be greatly appreciated!
I'm using the MODGPS library with a Copernicus II GPS module. I ran the code as instructed. For the NMEA ports of the GPS, the baud rate is listed as 4800 so that is what I set it to initially. When I do that, I get nothing at all, no output. When I change the baud rate to something like 9600, I obtain output but it's just all zeros for latitude, longitude, etc. I know the GPS works fine because when I connect it directly to my laptop using the Trimble GPS studio program, I get correct data. But through MBED, I'm able to get nothing, especially when I set it to the corresponding GPS baud rate of 4800.
Any help or suggestions would be greatly appreciated!