Skip to content

Commit 82c4020

Browse files
committed
getUnixEpoch() example fixed
1 parent 68e1363 commit 82c4020

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Diff for: examples/Example24_GetUnixEpochAndMicros/Example24_GetUnixEpochAndMicros.ino

-6
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@
2727
#include <SparkFun_u-blox_GNSS_Arduino_Library.h> //http://librarymanager/All#SparkFun_u-blox_GNSS
2828
SFE_UBLOX_GNSS myGNSS;
2929

30-
#include <ezTime.h> //https://github.com/ropg/ezTime
31-
#include <WiFi.h>
3230

3331
long lastTime = 0; //Simple local timer. Limits amount if I2C traffic to u-blox module.
3432

@@ -81,10 +79,6 @@ void loop()
8179
Serial.print(myGNSS.getMinute());
8280
Serial.print(":");
8381
Serial.print(myGNSS.getSecond());
84-
Serial.print(" makeTime(tm): ");
85-
Serial.print(makeTime(myGNSS.getHour(), myGNSS.getMinute(), myGNSS.getSecond(), myGNSS.getDay(), myGNSS.getMonth(), myGNSS.getYear()));
86-
Serial.print(" micros: ");
87-
Serial.print((int32_t)(myGNSS.getNanosecond() / 1000));
8882
Serial.print(" getUnixEpoch(micros): ");
8983
Serial.print(myGNSS.getUnixEpoch(us));
9084
Serial.print(" micros: ");

0 commit comments

Comments
 (0)