How do you access the builtin RTC?

Status
Not open for further replies.

MichaelMeissner

Senior Member+
I was playing around with a Chronodot I got from Adafruit, which is based on a DS3231 real-time clock, and is corrected for temperature, so it is claimed to be really accurate: https://www.adafruit.com/products/255.

Now, the DS1307RTC.h library works with the Chronodot, so that is cool when I have the Chronodot connected.

I recall that the Teensy 3.x has a built-in RTC if I solder a 32.768kHZ crystal underneath/on top of the chip. I haven't yet soldered the crystal, but I couldn't find the library functions for accessing it. I did a Linux find command in the Teensy 1.18 release directory, and the only rtc/RTC files I found are related to the DS130RTC library. Similarly, the PJRC library entry for the Teensy DS130RTC library mentions the built-in RTC, but it doesn't have a pointer to the library. So, how does one access the built-in RTC?
 
Status
Not open for further replies.
Back
Top