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).
This library is AGPL-3.0 licensed. See the LICENSE file.
Bugs, feature requests, contributions are welcome: Ds1302 issue tracker.
- Start and halt oscillator without setting current timestamp (thanks @photomultiplier)
- Bugfix: wrong mask when reading the year register (thanks @photomultiplier)
- Library added to the Arduino Library Manager (thanks @jackjansen)
- Bugfix: error on consecutive reads (thanks Reinhard Kopka).
- Bugfix: unable to set date 31, dow 7 and month 12.
- Platformio environment for ESP8266.
- First version.