altering GPS NMEA output

11 May 2010

Anyone had luck using mbed to issue input commands to an gps unit?  Specifically I'm interesting in the gps unit EM408 and the Sparkfun DIP bluetooth module.

Out of the box, EM408 has default NMEA 4800 baud rate and the DIP bluetooth has default 9600 baud (if wired correctly)...one needs to change.  First, I've started with the gps assuming it would be straightforward.

gps.printf("$PSRF100,1,9600,8,1,0*0D");

also I've been trying other tricks like

while(gps.writeable!=0);
gps.printf("$PSRF100,1,9600,8,1,0*0D");

Pitfalls, examples??? I'll take anything

17 May 2010

I don't have one, but I think you forgot the "\n" (or "\r" or "\r\n") at the end...

gps.printf("$PSRF100,1,9600,8,1,0*0D\r");

Please log in to post a reply.