Datasheet
https://adafru.it/cxm
Rename the uncompressed folder RTCLib and check that the RTCLib folder contains RTCLib.cpp and RTCLib.h
Place the RTCLib library folder your arduinosketchfolder/libraries/ folder.
You may need to create the libraries subfolder if its your first library. Restart the IDE.
We also have a great tutorial on Arduino library installation at:
http://learn.adafruit.com/adafruit-all-about-arduino-libraries-install-use
First RTC Test
The first thing we'll demonstrate is a test sketch that will read the time from the RTC once per second. We'll also show
what happens if you remove the battery and replace it since that causes the RTC to halt. So to start, remove the battery
from the holder while the Arduino is not powered or plugged into USB. Wait 3 seconds and then replace the battery.
This resets the RTC chip.
Load Demo
Open up File->Examples->RTClib->ds3231 and upload to your Arduino wired up to the RTC
© Adafruit Industries https://learn.adafruit.com/adafruit-ds3231-precision-rtc-breakout Page 13 of 22