Skip to content

Commit

Permalink
Remove attempt at UTC
Browse files Browse the repository at this point in the history
  • Loading branch information
unsalted committed Sep 21, 2014
1 parent 5760ed5 commit 757658b
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions sheild_sdlog_gps_color/sheild_sdlog_gps_color.ino
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,9 @@ void error(uint8_t errno) {
}
}
}
// Declare tcs
// Declare TCS
Adafruit_TCS34725 tcs = Adafruit_TCS34725(TCS34725_INTEGRATIONTIME_700MS, TCS34725_GAIN_1X);

// Set GTC to Los Angeles Time
int GTC = -8;

void setup() {

Expand Down Expand Up @@ -236,7 +234,7 @@ void loop() {
// Super. log it!
Serial.println("Log: start");
//Time
logfile.print(GPS.hour + GTC, DEC);
logfile.print(GPS.hour, DEC);
logfile.print(':');
logfile.print(GPS.minute, DEC);
logfile.print(':');
Expand Down Expand Up @@ -290,7 +288,7 @@ void loop() {
Serial.println();
Serial.println("Logged Data:");
// Time
Serial.print(GPS.hour + GTC, DEC);
Serial.print(GPS.hour, DEC);
Serial.print(':');
Serial.print(GPS.minute, DEC);
Serial.print(':');
Expand Down

0 comments on commit 757658b

Please sign in to comment.