code:nmea_collection
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
code:nmea_collection [2008/03/22 13:09] – changing title joshatkins | code:nmea_collection [2009/03/26 22:24] (current) – deleting page (just experimental) joshatkins | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== NMEA collection (Arduino code) ====== | ||
- | |||
- | void setup() { | ||
- | Serial.begin(9600); | ||
- | } | ||
- | |||
- | void loop() { | ||
- | if(Serial.available()> | ||
- | int nmea = Serial.read(); | ||
- | if(nmea==0) { | ||
- | Serial.print(nmea); | ||
- | } | ||
- | else { | ||
- | Serial.print(nmea, | ||
- | } | ||
- | Serial.println(); | ||
- | } | ||
- | } | ||
- | |||
code/nmea_collection.1206191377.txt.gz · Last modified: 2008/07/19 23:31 (external edit)