项目作者: MajicDesigns

项目描述 :
DS3231 Real Time Clock Library
高级语言: C++
项目地址: git://github.com/MajicDesigns/MD_DS3231.git
创建时间: 2016-11-14T06:17:04Z
项目社区:https://github.com/MajicDesigns/MD_DS3231

开源协议:GNU Lesser General Public License v2.1

下载


MD_DS3231

arduino-library-badge

The DS3231 is a low-cost, extremely accurate I2C real time clock (RTC) with an
integrated temperature compensated crystal oscillator (TCXO) and crystal. Microprocessor interface is exclusively through an I2C bidirectional bus.

The device

  • incorporates a battery input, and maintains accurate timekeeping when main power to the device is interrupted.
  • maintains seconds, minutes, hours, day, date, month, and year information.
  • automatically adjusts dates for months with fewer than 31 days, including corrections for leap year.
  • operates in either the 24-hour or 12-hour format with an AM/PM indicator.
  • includes two programmable time-of day alarms.
  • has and frequency programmable square-wave output.

This library features access to all on-chip features

  • Read and write clock time registers
  • Read and write alarm registers and controls
  • Read/write clock and alarm registers as RAM
  • Control of square wave generator (on/off & frequency)
  • Control of clock features (Square Wave type and on/off, 12/24H, day of week, etc)

If you like and use this library please consider making a small donation using PayPal

Library Documentation