An archive of community.esquilo.io as of Saturday January 26, 2019.

RTC drivers for DS1307 and DS3231/32 devices

gwittie

I have converted real-time-clock drivers for the DS1307 and DS3231/32 devices. The interface to these is the I2C bus. I have sent the Demo and library code to Scott so they should be available soon. Here is an example output of the DS3231 demo.

Running nut 'sd:/projects/DS3232RTC_Demo/DateTimeDemo_DS3231.nut
RTC date and time!
-> month = 8
-> day = 8
-> year = 2015
-> wkday = 6

-> hour = 17
-> minute = 46
-> second = 38

Date and Time String:
8/8/2015 17:46:38
RTCtempC = 24.5
RTCtempF = 76.1