GPS with Parallax Serial Terminal Object
Hello,
Would someone please tell me whats wrong with this code. The GPS module puts out a single ASCII string once per second. I have double checked all pins, baud rates, ports etc.
I get no response on the terminal.
Would someone please tell me whats wrong with this code. The GPS module puts out a single ASCII string once per second. I have double checked all pins, baud rates, ports etc.
I get no response on the terminal.


Comments
VAR byte MyString[60] CON _clkmode = xtal1 + pll16x _xinfreq = 5_000_000 OBJ pst : "Parallax Serial Terminal" pstGPS : "Parallax Serial Terminal" PUB start | ok dira[14] := 0 ' Set Rx pin to input. pst.start(115200) ' Start Parallax serial terminal. pstGPS.StartRxTx(14, 15, 0, 4800) ' Set up for GPS transfer. repeat pstGPS.StrInMax(@MyString, 10) ' Start GPS transrer. pst.str(@MyString) waitcnt(clkfreq + cnt)John Abshier