Line 181... |
Line 181... |
181 |
ReadGPGGA(); |
181 |
ReadGPGGA(); |
182 |
//*/ |
182 |
//*/ |
183 |
// make a string for assembling the data to log: |
183 |
// make a string for assembling the data to log: |
184 |
dataString += String(num++); |
184 |
dataString += String(num++); |
185 |
//dataString += ","; |
185 |
//dataString += ","; |
186 |
Serial.print(dataString); |
186 |
//!!! Serial.print(dataString); |
187 |
|
187 |
|
188 |
// open the file. note that only one file can be open at a time, |
188 |
// open the file. note that only one file can be open at a time, |
189 |
// so you have to close this one before opening another. |
189 |
// so you have to close this one before opening another. |
190 |
digitalWrite(chipSelect, HIGH); |
190 |
digitalWrite(chipSelect, HIGH); |
191 |
char fileNameCharArray[filename.length()]; |
191 |
char fileNameCharArray[filename.length()]; |
Line 239... |
Line 239... |
239 |
} |
239 |
} |
240 |
|
240 |
|
241 |
|
241 |
|
242 |
digitalWrite(chipSelect, LOW); |
242 |
digitalWrite(chipSelect, LOW); |
243 |
|
243 |
|
244 |
//*!!! control print |
244 |
/*!!! control print |
245 |
//TODO print to I2C display |
245 |
//TODO print to I2C display |
246 |
Serial.print(":"); |
246 |
Serial.print(":"); |
247 |
Serial.print(count); |
247 |
Serial.print(count); |
248 |
Serial.print("*"); |
248 |
Serial.print("*"); |
249 |
for(int j=0;j<36;j++) {Serial.print(channelA[j]); Serial.print(' ');} |
249 |
for(int j=0;j<36;j++) {Serial.print(channelA[j]); Serial.print(' ');} |