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 pork sizzles and cries for fish. Luckily for the foolish race, and this particularly foolish generation of trout, the night shut down at last, not a little deepened by the dark side of Ktaadn, which, like a permanent shadow, reared itself from the eastern bank.”
—Henry David Thoreau (18171862)