Treboada / Ds1302

A C/C++ library to use DS1302 RTC chip.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ds1302

A C/C++ library to use DS1302 RTC chip.

Tested with (but easily portable to your favourite MCU):

  • Arduino
  • ESP32
  • ESP8266

Features:

  • Simple to use and manage.
  • Platformio compatible.
  • Control of start/stop of the oscillator.
  • Secure against edge time race conditions (see #4).

Examples

License

This library is AGPL-3.0 licensed. See the LICENSE file.

Support

Bugs, feature requests, contributions are welcome: Ds1302 issue tracker.

Changelog

1.1.0

  • Start and halt oscillator without setting current timestamp (thanks @photomultiplier)

1.0.5

1.0.4

  • Library added to the Arduino Library Manager (thanks @jackjansen)

1.0.3

  • Bugfix: error on consecutive reads (thanks Reinhard Kopka).

1.0.2

  • Bugfix: unable to set date 31, dow 7 and month 12.
  • Platformio environment for ESP8266.

1.0.1

  • First version.

About

A C/C++ library to use DS1302 RTC chip.

License:GNU Affero General Public License v3.0


Languages

Language:C++ 100.0%