UKHAS Wiki

UK High Altitude Society

User Tools

Site Tools


code:nmea_collection

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
code:nmea_collection [2008/03/22 13:09] – adding heading joshatkinscode:nmea_collection [2009/03/26 22:24] (current) – deleting page (just experimental) joshatkins
Line 1: Line 1:
-====== NMEA ====== 
- 
-void setup() { 
-  Serial.begin(9600); // Initialize the serial connection 
-} 
- 
-void loop() { 
-  if(Serial.available()>0) { 
-    int nmea = Serial.read(); 
-    if(nmea==0) { 
-      Serial.print(nmea); 
-    } 
-    else { 
-      Serial.print(nmea, BYTE); 
-    } 
-    Serial.println(); 
-  } 
-} 
- 
  
code/nmea_collection.1206191353.txt.gz · Last modified: 2008/07/19 23:31 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki