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:
“The language of the younger generation ... has the brutality of the city and an assertion of threatening power at hand, not to come. It is military, theatrical, and at its most coherent probably a lasting repudiation of empty courtesy and bureaucratic euphemism.”
—Elizabeth Hardwick (b. 1916)