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:
“Man is distinguished, not only by his reason; but also by this singular passion from other animals ... which is a lust of the mind, that by a perseverance of delight in the continual and indefatigable generation of knowledge, exceeds the short vehemence of any carnal pleasure.”
—Thomas Hobbes (15881679)