Arduino library to support DS1307 and similar I2C real-time clocks. The library can autoprobe to find the actual hardware based on I2C address and registers.
- DS1307 (also DS1337, DS1338)
- MCP7941x (MCP79410, MCP79411, MCP79412)
Released under the GNU Lesser General Public License, version 2.1. See LICENSE.txt for details.
Demonstrate the use of autoprobe(), getDevice(), getAddress() to
identify the first RTC found. Configure the device as appropriate
using enableBatteryBackup() and startClock(). Enable square-wave
output with setSQW().
Thanks to Ian Chilton for mcp7941x_arduino which was the starting point for the MCP7941x implementation.