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 greater part of our best years has been passed for our generation in these two great worldconvulsions. All will be changed after this war, which spends in one month more than nations earned before in years ... there is no more security in our time than in those of the Reformation or the fall of Rome.”
—Stefan Zweig (18811942)