User Tools

Site Tools


weasel_code

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
weasel_code [2011/09/20 11:26]
chrism [circuit diagram]
weasel_code [2011/09/20 11:27] (current)
chrism [circuit diagram]
Line 716: Line 716:
     if(!digitalRead(test_pin))result++; ​   //test weather successful     if(!digitalRead(test_pin))result++; ​   //test weather successful
 } }
- 
-void loop()//​=================================================================== 
-{ 
- 
-  //READ THE GPS AND EXTRACT THE USEFUL DATA 
-  while (a != '​*'​ && gcount <120){ 
-    a = test_str[gcount];​ //Reads the gps 
-    Serial.print(a);​ //Displays GPGGA (gps output string) on the USB debug 
- 
-    if (a == ','​) { //comma responce 
-    ​ 
-char test_str[] = "​$$GPGGA,​135506.00,​5212.25882,​N,​00007.52029,​E,​2,​09,​0.99,​17.2,​M,​45*8A";​ //Note this is a real string from cambridge 
  
 </​code>​ </​code>​
weasel_code.1316514416.txt.gz ยท Last modified: 2011/09/20 11:26 by chrism