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:
“Where do whites fit in the New Africa? Nowhere, Im inclined to say ... and I do believe that it is true that even the gentlest and most westernised Africans would like the emotional idea of the continent entirely without the complication of the presence of the white man for a generation or two. But nowhere, as an answer for us whites, is in the same category as remarks like Whats the use of living? in the face of the threat of atomic radiation. We are living; we are in Africa.”
—Nadine Gordimer (b. 1923)