-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
19 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name=uRTCLib | ||
version=6.9.1 | ||
version=6.9.2 | ||
author=Naguissa <[email protected]> | ||
maintainer=Naguissa <[email protected]> | ||
sentence=Really tiny library to basic RTC functionality on Arduino. DS1307, DS3231 and DS3232 RTCs are supported. See https://github.com/Naguissa/uEEPROMLib for EEPROM support. Temperature, Alarms, SQWG, Power lost and RAM support. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,14 +17,20 @@ | |
* Note: For AtTiny you need TinyWireM library from Adafruit installed (available on library manager). | ||
* | ||
* | ||
* I2C locked in unknown state | ||
* | ||
* If uC crashes and I2C communication is locked in a unknown state you have a procedure to unlock it. | ||
* It's not implemented in this library but you can find an explanation and a PIC implementation thanks | ||
* to @rtek1000 in #42 : https://github.com/Naguissa/uRTCLib/issues/42 | ||
* | ||
* @file uRTCLib.cpp | ||
* @copyright Naguissa | ||
* @author Naguissa | ||
* @see <a href="https://github.com/Naguissa/uRTCLib">https://github.com/Naguissa/uRTCLib</a> | ||
* @see <a href="https://www.foroelectro.net/librerias-arduino-ide-f29/rtclib-arduino-libreria-simple-y-eficaz-para-rtc-y-t95.html">https://www.foroelectro.net/librerias-arduino-ide-f29/rtclib-arduino-libreria-simple-y-eficaz-para-rtc-y-t95.html</a> | ||
* @see <a href="mailto:[email protected]">[email protected]</a> | ||
* @see <a href="https://github.com/Naguissa/uEEPROMLib">See uEEPROMLib for EEPROM support.</a> | ||
* @version 6.9.1 | ||
* @version 6.9.2 | ||
*/ | ||
|
||
#include <Arduino.h> | ||
|
@@ -341,7 +347,7 @@ bool uRTCLib::lostPower() { | |
/** | ||
* \brief Clears lost power VBAT staus | ||
* | ||
* DS1307 has a 'CH' Clock Halt Bit in Register 00h -> When cleared to 0, the oscillator is enabled and time starts incermenting | ||
* DS1307 has a 'CH' Clock Halt Bit in Register 00h -> When cleared to 0, the oscillator is enabled and the time starts to increase | ||
* | ||
* Others have a 'OSF' Oscillator Stop Flag in Register 0Fh | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,11 +17,18 @@ | |
* Note: For AtTiny you need TinyWireM library from Adafruit installed (available on library manager). | ||
* | ||
* | ||
* I2C locked in unknown state | ||
* | ||
* If uC crashes and I2C communication is locked in a unknown state you have a procedure to unlock it. | ||
* It's not implemented in this library but you can find an explanation and a PIC implementation thanks | ||
* to @rtek1000 in #42 : https://github.com/Naguissa/uRTCLib/issues/42 | ||
* | ||
* | ||
* @see <a href="https://github.com/Naguissa/uRTCLib">https://github.com/Naguissa/uRTCLib</a> | ||
* @see <a href="https://www.foroelectro.net/librerias-arduino-ide-f29/rtclib-arduino-libreria-simple-y-eficaz-para-rtc-y-t95.html">https://www.foroelectro.net/librerias-arduino-ide-f29/rtclib-arduino-libreria-simple-y-eficaz-para-rtc-y-t95.html</a> | ||
* @see <a href="mailto:[email protected]">[email protected]</a> | ||
* @see <a href="https://github.com/Naguissa/uEEPROMLib">See uEEPROMLib for EEPROM support.</a> | ||
* @version 6.9.1 | ||
* @version 6.9.2 | ||
*/ | ||
/** \file uRTCLib.h | ||
* \brief uRTCLib header file | ||
|