PCBAUD refers to the baudrate of the USB virtual com port that is connected to your PC terminal program (eg hyperterminal). You need to set that baudrate in the com port settings menu of hyperterminal.
The terminalwindow will show mbeds pc.printf messages. Default setting will be 9600 baud.
You may be missing the actual example code and thus your 'main' function. Seems that the first define is wrong. Should be:
#define COMPILE_EXAMPLE1_CODE_MODGPS
instead of:
#define COMPILE_EXAMPLE_CODE_MODGPS
You can also try EXAMPLE2 or EXAMPLE3. The code is in the library and you can inspect it.
PS looks like there is also a typo in the example: GPSBUAD.. instead of GPSBAUD...
Perhaps best to copy the example code in your own main and take it from there. Obviously you should not use the define COMPILE_EXAMPLE1_CODE_MODGPS in that case.
I've been searching everywhere for a simple code that parse the small GPS MN5010HS unit I have and couldn't find one.
i've found lot's of website that explains to me the NMEA data sentence but nothing on how to request the data from a microcontroller.
EDIT Can Someone with knowledge of MODGPS library help me? my program only prints once and never again.