You are reading a single comment by @Mark_M and its replies.
Click here to read the full conversation.
-
Serial1.setup(4800,{rx:31, tx:30});
You have pins switched there, see
https://github.com/espruino/Espruino/blob/master/boards/BANGLEJS2.py#L136
https://github.com/espruino/Espruino/blob/master/libs/banglejs/jswrap_bangle.c#L2295also as seen in second link , Serial1 may be reset back to 9600 in some cases
I've set GPS baud rate to 4800
Serial1.println('$PCAS01,0*1C');
Then I tried to set Serial1 baud rate
Serial1.unsetup();
Serial1.setup(4800,{rx:31, tx:30});
but I cannot communicate with GPS any more :(
Please help!