You are reading a single comment by @HopeToBeUseful1day and its replies.
Click here to read the full conversation.
-
Looks like @BillM implemented the checksum function another way. His version computes 28 without "$" sign. Attached screenshot
1 Attachment
I have tried it with
PCAS02
, the command to change the update rate and without the$
included in the checksum it changes nothing while including it works.print(require("pcas").checksum("$GPGLL,5300.97914,N,00259.98174,E,125926,A"));
creates a checksum of28
which matches your example. Doing the same without$
calculates6F
as checksum.require("pcas").checksum
is as follows: