DS1302 RTC library for Arduino

8-pin IC

This project is a library for the Arduino platform. It provides a simple interface to the Maxim DS1302 timekeeping chip. It allows Arduino projects to keep accurate time easily.

Downloading

The code is hosted by GitHub at msparks/arduino-ds1302.

It can be cloned with:

git clone git://github.com/msparks/arduino-ds1302.git DS1302

You may also download the latest version in a .tar or .zip:

.tar .zip

Installing

Place the DS1302 directory in hardware/libraries subdirectory of the Arduino base directory.

A simple example is included with the code.