User Tools

Site Tools


Writing /public/societies/cuspaceflight/public_html/www/wiki/data/cache/a/a51f4a8fa1b70f8e49452db2d467d685.metadata failed
weasel_code
Writing /public/societies/cuspaceflight/public_html/www/wiki/data/cache/a/a1a4bbb964419b793ea2a8b4fa0fe993.xhtml failed

====== 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