We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb7c31a commit 727c39dCopy full SHA for 727c39d
1 file changed
examples/SetSerial/SetSerial.ino
@@ -43,7 +43,7 @@ void setup(void)
43
{
44
byte rtcID[8];
45
46
- Serial.begin(115200);
+ Serial.begin(57600);
47
48
//setSyncProvider() causes the Time library to synchronize with the
49
//external RTC by calling RTC.get() every five minutes by default.
@@ -59,6 +59,15 @@ void setup(void)
59
Serial << _HEX(rtcID[i]);
60
}
61
Serial << endl;
62
+
63
+ RTC.getEUI64(rtcID);
64
+ Serial << F("EUI-64 = ");
65
+ for (int i=0; i<8; ++i) {
66
+ if (rtcID[i] < 16) Serial << '0';
67
+ Serial << _HEX(rtcID[i]);
68
+ }
69
+ Serial << endl;
70
71
Serial << F("Calibration Register = ") << RTC.calibRead() << endl;
72
73
@@ -158,4 +167,4 @@ void printI00(int val, char delim)
158
167
Serial << _DEC(val);
159
168
if (delim > 0) Serial << delim;
160
169
return;
161
-}
170
+}
0 commit comments