C Implementation of Checksum Generation
Persons looking to implement NMEA 0183 are often stumped by the checksum part. The following C code generates a checksum for the string entered as "mystring" and prints it to the output stream. In the example a sentence for the sample file is used.
#includeWhich can be simplified to function form as follows: #include
Read more about this topic: NMEA 0183
Famous quotes containing the word generation:
“This generation is very sure to plant corn and beans each new year precisely as the Indians did centuries ago and taught the first settlers to do, as if there were a fate in it.”
—Henry David Thoreau (18171862)