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:
“Against my will, I became a witness to the most terrible defeat of reason and to the most savage triumph of brutality ever chronicled ... never before did a generation suffer such a moral setback after it had attained such intellectual heights.”
—Stefan Zweig (18811942)