1 parent 68ea5a2 commit 5b8aa4fCopy full SHA for 5b8aa4f
1 file changed
ReadMe.txt
@@ -275,10 +275,11 @@ CALIBRATION, POWER FAILURE DETECTION, AND MISCELLANEOUS FUNCTIONS
275
276
--------------------------------------------------------------------------------
277
calibWrite(int value) writes the given value to the RTC calibration register.
278
-This is an adjustment factor in PPM, and must be between -127 and 127.
+This is an adjustment factor in PPM, and must be between -127 and 127. Negative
279
+numbers cause the RTC to run faster, positive numbers cause it to run slower.
280
- RTC.calibWrite(13); //makes the RTC run faster by 13 parts per million.
281
- RTC.calibWrite(-42); //makes the RTC run slower by 42 parts per million.
+ RTC.calibWrite(13); //makes the RTC run slower by 13 parts per million.
282
+ RTC.calibWrite(-42); //makes the RTC run faster by 42 parts per million.
283
284
285
calibRead(void) returns the value of the RTC calibration register.
@@ -333,3 +334,4 @@ idRead(byte *uniqueID) returns the 64-bit unique ID from the RTC into the given
333
334
335
byte buf[8];
336
RTC.idRead(buf);
337
+
0 commit comments