If the GPS works connected to a PC, it means its output is inverted.
You need to modify your
Code:
serin2 portc.4,4800,[WAIT("$GPRMC"),STR sms\35]
Reread the manual for SerIn2 - your mode value is incorrect.
Thanks for the input but could you help me advising what baud should I use, I am little confused about this. The datasheet of the module does says 4800 is default (Datasheet attached) and manual also has only one option for 4800 baud.
I also want to say that I connected the gps module via MAX232 to the PC.Thanks
___________________
WHY things get boring when they work just fine?
Bookmarks