Skip to content
Browse files

updated pin connection

  • Loading branch information...
1 parent 9ef7988 commit a1ce622375c816dd26997472bd9fe8d411feb40d @ladyada ladyada committed May 30, 2011
Showing with 3 additions and 2 deletions.
  1. +3 −2 SD_GPSLogger.pde
View
5 SD_GPSLogger.pde
@@ -1,7 +1,7 @@
// Ladyada's logger modified by Bill Greiman to use the SdFat library
// this is a generic logger that does checksum testing so the data written should be always good
-// Assumes a sirf III chipset logger attached to pin 0 and 1
+// Assumes a sirf III chipset logger attached to pin 2 and 3
#include <SD.h>
#include <avr/sleep.h>
@@ -252,12 +252,13 @@ void loop() {
bufferidx++;
logfile.write((uint8_t *) buffer, bufferidx);
+ logfile.flush();
/*
if( != bufferidx) {
putstring_nl("can't write!");
error(4);
}
-*/
+ */
digitalWrite(led2Pin, LOW);

0 comments on commit a1ce622

Please sign in to comment.
Something went wrong with that request. Please try again.